Tuesday, April 29, 2014

Re: Supersourcing own clode and maintenance

* What if I have a basic exception class that will use the new constructor introduced in Java 1.7 with the two booleans but I also want to use the exception classes in shared code?
* What if I want to overwrite a method like printStackTrace(PrintStream) or the like but leave it alone in GWT emul?
* What if I have a class that has has its own Java serialization based on readObject/writeObject?

Well file issues for it. For example Throwable already knows the new 4-arg constructor but it is missing in Exception/Error, so it should be an easy fix. 

https://gwt.googlesource.com/gwt/+/master/user/super/com/google/gwt/emul/java/lang/Throwable.java


GWT is open for new emulations as long as it makes sense in browser land and a reasonable emulation in JavaScript exist.


-- J.

--
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/d/optout.

No comments:

Post a Comment