Open GoogleCodeExporter opened 9 years ago
Hi, alex, Can I have the classes you are try to use? It looks like your try to
reflect a UIObject from GWT.
I got this error before, and I fixed it, but I'm not sure it's the same with
you.
Original comment by JamesLuo...@gmail.com
on 15 Sep 2009 at 5:00
The classes are related to http://code.google.com/p/gwt-mosaic-xul/ elements
(org.gwt.mosaic.xul.client.ui.* classes), that end up instantiating different
GWT or
gwt-mosaic widgets. The class hierarchy is a bit more complex (that A <- B <-
C), but
I assumed reflection is properly emulated for any kind of class hierarchy.
What I did was: I've created a new "reflected" class for each ui class (from the
above package), with no members, something like:
public class Vbox_Reflected extends Vbox implements Reflection {
/* no members, just needed to get properties of superclasses */
}
Now I've tried the following code:
ClassType classType = TypeOracle.Instance.getClassType(Vbox_Reflected.class);
resulting in the above defect.
Original comment by alex.dob...@gmail.com
on 20 Sep 2009 at 6:57
Hi, alex, thanks for help, I checked code, I think this is fixed in SVN, can
you test
with the new jar file in svn? thanks.
The jar link:
http://code.google.com/p/gwt-ent/source/browse/trunk/gwtent/gwtent.jar
Original comment by JamesLuo...@gmail.com
on 20 Sep 2009 at 11:48
Original issue reported on code.google.com by
alex.dob...@gmail.com
on 2 Sep 2009 at 11:28