Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8080572

langtools/test/tools/javac/generics/T5011073.java failing

    XMLWordPrintable

Details

    • b66
    • Verified

    Backports

      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.

        Attachments

          Issue Links

            Activity

              People

                jlahoda Jan Lahoda
                jlahoda Jan Lahoda
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: