Closed GoogleCodeExporter closed 9 years ago
This issue was closed by revision r292.
Original comment by bguijt
on 26 Jan 2010 at 12:17
A minor note:
Some Java Collection method contracts mandate a `NullPointerException` to be
thrown if a null argument is
passed in (e.g. `removeAll()` methods). In GWT we cannot 'throw'
`NullPointerExceptions`, which is silly
anyway.
Whenever a `NullPointerException` is expected, GWT (or rather, JavaScript) is
throwing a JavaScriptException
instead.
Thanks to the Google Collections project for providing the Map tests!
(http://code.google.com/p/google-
collections/source/browse/trunk/testfw/com/google/common/collect/testing/MapInte
rfaceTest.java)
Original comment by bguijt
on 26 Jan 2010 at 12:25
Original issue reported on code.google.com by
bguijt
on 25 Jan 2010 at 10:31