Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
JDK-8073593 :
|
At some point, during JDK 7 development, the following changeset: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/ca32f2986301 Allowed diamond syntax to be used in conjunction with anonymous inner classes. That change has been backed out for scoping reasons. It is now time to re-enable it, as the analysis in JDK-8058519 shows that such a simple approach - together with the more powerful JDK 8 inference, could indeed be beneficial in the vast majority of cases.
|