Friday, December 20, 2024

Re: Class not included in the set of types for RPC

What about the Point class? Line and Point are missing in the policy file so I guess Point might be the issue (or something that Point references)

-- J.

Neil Aggarwal schrieb am Freitag, 20. Dezember 2024 um 06:47:08 UTC+1:

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 <ne...@propfinancing.com>
Sent: Thursday, December 19, 2024 10:45 PM
To: 'google-we...@googlegroups.com' <google-we...@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!

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/d5332547-da0a-414f-90f9-0a28fda03727n%40googlegroups.com.

No comments:

Post a Comment