Details
-
Bug
-
Resolution: Fixed
-
P2
-
9
-
b66
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085523 | emb-9 | Jan Lahoda | P2 | Resolved | Fixed | team |
Description
The langtools/test/tools/javac/generics/T5011073.java test is failing on some servers since:
http://hg.openjdk.java.net/jdk9/dev/langtools/rev/a588177cbccf
The cause is difference between the expected output:
T5011073.java:15:9: compiler.err.cant.apply.symbol: kindname.method, f, java.util.Set<java.lang.String>,java.lang.Class<java.lang.String>, java.util.Set<java.lang.Integer>,java.lang.Class, kindname.class, T5011073, (compiler.misc.no.conforming.assignment.exists: (compiler.misc.inconvertible.types: java.util.Set<java.lang.Integer>, java.util.Set<java.lang.String>))
1 error
and the actual output:
T5011073.java:15:9: compiler.err.cant.apply.symbol: kindname.method, f, Set<java.lang.String>,java.lang.Class<java.lang.String>, Set<java.lang.Integer>,java.lang.Class, kindname.class, T5011073, (compiler.misc.no.conforming.assignment.exists: (compiler.misc.inconvertible.types: Set<java.lang.Integer>, Set<java.lang.String>))
1 error
Note the actual output has "Set" instead of "java.util.Set". This does not seem to happen reliably on all test machines.
http://hg.openjdk.java.net/jdk9/dev/langtools/rev/a588177cbccf
The cause is difference between the expected output:
T5011073.java:15:9: compiler.err.cant.apply.symbol: kindname.method, f, java.util.Set<java.lang.String>,java.lang.Class<java.lang.String>, java.util.Set<java.lang.Integer>,java.lang.Class, kindname.class, T5011073, (compiler.misc.no.conforming.assignment.exists: (compiler.misc.inconvertible.types: java.util.Set<java.lang.Integer>, java.util.Set<java.lang.String>))
1 error
and the actual output:
T5011073.java:15:9: compiler.err.cant.apply.symbol: kindname.method, f, Set<java.lang.String>,java.lang.Class<java.lang.String>, Set<java.lang.Integer>,java.lang.Class, kindname.class, T5011073, (compiler.misc.no.conforming.assignment.exists: (compiler.misc.inconvertible.types: Set<java.lang.Integer>, Set<java.lang.String>))
1 error
Note the actual output has "Set" instead of "java.util.Set". This does not seem to happen reliably on all test machines.
Attachments
Issue Links
- backported by
-
JDK-8085523 langtools/test/tools/javac/generics/T5011073.java failing
-
- Resolved
-
- relates to
-
JDK-8074417 Group 13a: golden files for tests in tools/javac/generics dir
-
- Closed
-