Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0-beta-2
-
None
Description
The following expression causes an incompatible type error at compile time, although it's valid:
Object o = null try { ((Integer)o).intValue() } catch (NullPointerException e) { }