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

tools/javac/diags/CheckExamples.java fails after JDK-8078024 8u backport

    XMLWordPrintable

    Details

      Description

      Reproduces in current jdk8u/jdk8u-dev, see:

      $ CONF=linux-x86_64-normal-server-fastdebug make clean images test TEST=langtools_tier1

      TEST: tools/javac/diags/CheckExamples.java

      STDERR:
      Error: Example /home/shade/trunks/jdk8u-dev/langtools/test/tools/javac/diags/examples/WhereIntersection.java declares key compiler.misc.inferred.do.not.conform.to.upper.bounds but does not generate it
      Error: Example /home/shade/trunks/jdk8u-dev/langtools/test/tools/javac/diags/examples/WhereIntersection.java declares key compiler.misc.intersection.type but does not generate it
      Error: Example /home/shade/trunks/jdk8u-dev/langtools/test/tools/javac/diags/examples/WhereIntersection.java declares key compiler.misc.where.description.intersection.1 but does not generate it
      Error: Example /home/shade/trunks/jdk8u-dev/langtools/test/tools/javac/diags/examples/WhereIntersection.java declares key compiler.misc.where.intersection but does not generate it
      Error: Example /home/shade/trunks/jdk8u-dev/langtools/test/tools/javac/diags/examples/WhereIntersection.java generates key compiler.misc.incompatible.upper.lower.bounds but does not declare it
      Error: Example /home/shade/trunks/jdk8u-dev/langtools/test/tools/javac/diags/examples/WhereIntersection.java generates key compiler.misc.where.description.typevar but does not declare it
      Error: Example /home/shade/trunks/jdk8u-dev/langtools/test/tools/javac/diags/examples/WhereIntersection.java generates key compiler.misc.where.typevar but does not declare it

      This seems to go away when JDK-8078024 is reverted.
      It is somewhat masked by NoJavaLang bug: there are *two* failures in that test. NoJavaLang failure is to be fixed with JDK-8260484 backport.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              peterz Peter Zhelezniakov
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: