Friday, February 28, 2014

How to super-source a single method in a JRE emulated class?

How is it possible to emulate a single JRE method, in my case: Character.isWhiteSpace()?

If I try this I get all kind of AST compiler errors (null pointer exception): A new empty Character.java file in my super-source dir with only the isWhiteSpace() method.
It works if I copy the whole GWT JRE emulated Character.java file and put that in my super-source dir, and add the additional method.

But I only want to add one additional method, not copy the whole GWT JRE file. I don't need that, and might miss any changes done by GWT.
How is this possible?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment