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

compact3: tools/javac/diags/CheckExamples.java

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tools
    • Environment:
    • Subcomponent:
    • Introduced In Version:
      8

      Description

      Test fails for compact3 and JRE.

      jtreg/linux/bin/jtreg -agentvm -concurrency:10 -compilejdk:"jdk1.8.0" -jdk:"ejre1.8.0-compact3" -dir:ws/langtools/test -w:tmpwork -r:tmprep -vmoption:-Xmx512m -ignore:quiet -verbose:all -a -timeout:2 -javacoptions:"-profile compact3" tools/javac/diags/CheckExamples.java
      ...
      Error: Example /work/profiles/ws/langtools/test/tools/javac/diags/examples/AlreadyDefinedImport.java declares key compiler.err.already.defined.single.import but does not generate it
      Error: Example /work/profiles/ws/langtools/test/tools/javac/diags/examples/AlreadyDefinedImport.java generates key compiler.err.doesnt.exist but does not declare it
      Error: Example /work/profiles/ws/langtools/test/tools/javac/diags/examples/NotInProfile.java declares key compiler.err.not.in.profile but does not generate it
      Error: Example /work/profiles/ws/langtools/test/tools/javac/diags/examples/NotInProfile.java generates key compiler.err.doesnt.exist but does not declare it
      Error: Example /work/profiles/ws/langtools/test/tools/javac/diags/examples/SunApiFilename.java declares key compiler.note.sunapi.filename but does not generate it
      Error: Example /work/profiles/ws/langtools/test/tools/javac/diags/examples/SunApiFilename.java declares key compiler.note.sunapi.recompile but does not generate it
      Error: Example /work/profiles/ws/langtools/test/tools/javac/diags/examples/SunApiFilenameAdditional.java declares key compiler.note.sunapi.filename.additional but does not generate it
      Error: Example /work/profiles/ws/langtools/test/tools/javac/diags/examples/SunApiFilenameAdditional.java declares key compiler.warn.sun.proprietary but does not generate it
      Error: Example /work/profiles/ws/langtools/test/tools/javac/diags/examples/SunApiPlural declares key compiler.note.sunapi.plural but does not generate it
      Error: Example /work/profiles/ws/langtools/test/tools/javac/diags/examples/SunApiPlural declares key compiler.note.sunapi.recompile but does not generate it
      Error: Example /work/profiles/ws/langtools/test/tools/javac/diags/examples/SunApiPluralAdditional declares key compiler.note.sunapi.plural.additional but does not generate it
      Error: Example /work/profiles/ws/langtools/test/tools/javac/diags/examples/SunApiPluralAdditional declares key compiler.warn.sun.proprietary but does not generate it
      Error: Example /work/profiles/ws/langtools/test/tools/javac/diags/examples/SunProprietary.java declares key compiler.warn.sun.proprietary but does not generate it
      418 examples checked
      108 keys on not-yet list

      prefix #keys in tests #keys in javac %
      compiler.err. 262 303 86%
      compiler.warn. 61 75 81%
      compiler.note. 21 21 100%
      compiler.misc. 123 176 69%
      other 0 0
      total 467 575 81%
      java.lang.Exception: 13 errors occurred.
      at CheckExamples.run(CheckExamples.java:125)
      at CheckExamples.main(CheckExamples.java:56)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Unknown Source)

      JavaTest Message: Test threw exception: java.lang.Exception: 13 errors occurred.
      JavaTest Message: shutting down test

        Attachments

          Activity

            People

            Assignee:
            ksrini Kumar Srinivasan
            Reporter:
            strarup Peter Jensen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: