revaultch / gwtx

Automatically exported from code.google.com/p/gwtx
0 stars 0 forks source link

Add support for java.lang.NoSuchMethodError #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This simple interface would provide better GWT support for many libs.

java.lang.LinkageError
java.lang.IncompatibleClassChangeError
java.lang.NoSuchMethodError

also:
java.lang.NoSuchMethodException

Original issue reported on code.google.com by rainer.s...@gmail.com on 27 Feb 2009 at 11:59

GoogleCodeExporter commented 8 years ago
That's may be good candidates for emulation, but I don't know what lib/use-case 
may 
require such exceptions/errors in GWT

Please give me a real-world example 

Original comment by nicolas....@gmail.com on 10 Mar 2009 at 11:05

GoogleCodeExporter commented 8 years ago
When I tried to use Antlr in GWT some classes could not be translated because
java.lang.NoSuchMethodError could not be found. LinkageError and
IncompatibleClassChangeError are just the superinterfaces of NoSuchMethodError. 
It's
not a big deal to include them "manually", but of course it would be easier if 
they
already existed in a GWT lib like GWTx. I've also seen these errors where the 
methods
where not yet implemented.

Original comment by rainer.s...@gmail.com on 11 Mar 2009 at 9:46