Tuesday, August 9, 2011

Re: Emulating Java Reflection with deferred binding

Nice idea, thank you but.... the error is still here:

[DEBUG] [main] - Rebinding com.bilancio.client.Reflection
[DEBUG] [main] - Adding '1' new generated units
[DEBUG] [main] - Validating newly compiled units
[ERROR] [main] - Errors in 'generated://
670356D9DA0D417BB8171499B4C4D57B/com/bilancio/client/
ReflectionImpl.java'
[ERROR] [main] - Line 9: This method must return a result of type
T
[INFO] [main] - See snapshot: /tmp/
com.bilancio.client.ReflectionImpl6488844579312624283.java

I added sourceWriter.println( "return (T) new " +
classType.getQualifiedSourceName( ) + "();" );

and modified the interface and implementation as you said.... :-(((

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate