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

compact3: tools/javac/api/6411310/Test.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • tools
    • 8

      Test fails for compact3 and full JRE build.

      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/api/6411310/Test.java

      ...
      java.lang.Exception: expected classes not used: [SymbolFileObject]
      at Test.checkCoverage(Test.java:140)
      at Test.run(Test.java:75)
      at Test.main(Test.java:44)
      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.MainAction$SameVMRunnable.run(MainAction.java:706)
      at java.lang.Thread.run(Unknown Source)

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

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

              Created:
              Updated:
              Resolved: