Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta-2
-
Fix Version/s: 2.0-beta-3
-
Component/s: Static Type Checker
-
Labels:None
-
Number of attachments :
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) { }