This is very interesting. I added Line as a private member to Box:
/** Testing a line instance */
private Line line;
And an accessor:
/** Test method for GWT */
public Line getLine() {
return line;
}
Now, Box is not generated in the .gwt.rpc file (Box Box$STATE is still there).
If I mark those two items with @GwtIncompatible, Box appears again.
Thank you,
Neil
--
Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com
We offer 30 year loans on single family houses!
From: Neil Aggarwal <neil@propfinancing.com>
Sent: Thursday, December 19, 2024 10:45 PM
To: 'google-web-toolkit@googlegroups.com' <google-web-toolkit@googlegroups.com>
Subject: RE: Class not included in the set of types for RPC
> Can you share the full contents of Line and Box? Or at least their class hierarchy and fields - methods are not important.
I am attaching pared-down versions of Component, Box, and Line.
I am also attaching the generated .gwt.rpc
> Something has definitely changed since your last email - "Line$STATUS" was present before,
> but isn't now. Was that a deliberate change?
Yes. I have been paring down my classes to see if I can find out what the GWT Compiler
does not like so no luck so far.
Thank you,
Neil
--
Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com
We offer 30 year loans on single family houses!
No comments:
Post a Comment