Deferred binding cannot find nested classes

7 views
Skip to first unread message

fawzyj

unread,
Nov 12, 2009, 12:00:44 AM11/12/09
to Google Web Toolkit
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

Reply all
Reply to author
Forward
0 new messages