Wednesday, November 11, 2009

Deferred binding cannot find nested classes

Hi all
i have noticed this behaviour while developing a deferred binding
generator
i think it is a bug so i filed a new issue for it : issue 4219

http://code.google.com/p/google-web-toolkit/issues/detail?id=4219

its details is as follow:

Found in GWT Release (2.0M2):
this is the version i work with but may be other versions are affected


Encountered on OS / Browser (Windows Vista):
this is the OS i work with but may be other OSes are affected


Detailed description (please be as specific as possible):
Deferred binding cannot find nested classes;
i am working on a defered binding generator for autimatic data
binding
it work like this

public interface DataBinder extends Binder<DataClass1,DataClass2>{}
DataBinder binder=GWT.create(DataBinder);


if DataClass1 or DataClass2 (public class) is an inner class (nested
static
class)
a ClassNotFoundException is thrown

Note all my classes and interfaces have public modifier

if the nested class moved to upper level(top level class), the code
compiles and run perfectly

Shortest code snippet which demonstrates issue (please indicate where
actual result differs from expected result):

Workaround if you have one:
move the nested class to a top level class


Any help please?
thanks
Joe

--

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=.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate