-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 7
-
Component/s: tools
-
b134
-
generic
-
generic
-
Verified
The diamond specification forbids using diamond with anonymous inner classes; however, the compiler allows this in some cases.
- relates to
-
JDK-7025468 Tests using diamond with anonymous inner classes needs to be reverted
-
- Closed
-
-
JDK-7020043 Project Coin: diamond allowed on non-generic type
-
- Closed
-
-
JDK-6939620 Switch to 'complex' diamond inference scheme
-
- Closed
-
-
JDK-8058519 Project Coin: Explore allowing interaction of diamond syntax and anonymous classes
-
- Closed
-