-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b58
-
generic
-
generic
The following regression test
java/lang/Class/getEnclosingConstructor/EnclosingConstructorTests.java
fails to compile since jdk7 b55 because of the changes in the javac (see 6400189):
$ /java/re/jdk/7/promoted/all/b55/binaries/solaris-sparc/bin/javac EnclosingConstructorTests.java
EnclosingConstructorTests.java:66: cannot find symbol
c.getAnnotation(ConstructorDescriptor.class).value().equals(constructorSig))
^
symbol: method value()
location: interface java.lang.annotation.Annotation
Note: EnclosingConstructorTests.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
The test needs to be fixed.
java/lang/Class/getEnclosingConstructor/EnclosingConstructorTests.java
fails to compile since jdk7 b55 because of the changes in the javac (see 6400189):
$ /java/re/jdk/7/promoted/all/b55/binaries/solaris-sparc/bin/javac EnclosingConstructorTests.java
EnclosingConstructorTests.java:66: cannot find symbol
c.getAnnotation(ConstructorDescriptor.class).value().equals(constructorSig))
^
symbol: method value()
location: interface java.lang.annotation.Annotation
Note: EnclosingConstructorTests.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
The test needs to be fixed.
- relates to
-
JDK-6400189 raw types and inference
- Closed