-
Enhancement
-
Resolution: Fixed
-
P3
-
7
-
b118
-
unknown
-
generic
-
Verified
Add a warning that detects diamond sites:
class Foo<T> {
Foo(T t) {}
}
Foo<String> fs = new Foo<String>(); //compiler should optionally issue a warning here
class Foo<T> {
Foo(T t) {}
}
Foo<String> fs = new Foo<String>(); //compiler should optionally issue a warning here
- relates to
-
JDK-6880112 Project Coin: Port JDK core library code to use diamond operator
-
- Closed
-