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

compact3: tools/javac/6508981/TestInferBinaryName.java

    XMLWordPrintable

    Details

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

      Description

      Changes in behavior related to symbol file cause this test to fail for a profiles full JRE and compact3 build. The test , as a whole, is applicable. It's not obvious if this is test or product issue.

      jtreg/linux/bin/jtreg -othervm -concurrency:10 -compilejdk:jdk1.8.0 -jdk:ejre1.8.0 -dir:ws/langtools/test -w:tmpwork -r:tmprep -vmoption:-Xmx512m -ignore:quiet -verbose:all -a -timeout:2 -javaoption:-Djava.awt.headless=true tools/javac/6508981/TestInferBinaryName.java

      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/6508981/TestInferBinaryName.java


      ...
      testSymbolArchive com.sun.tools.javac.file.ZipArchive$ZipFileObject java.lang.String
      Expected: com.sun.tools.javac.file.SymbolArchive$SymbolFileObject
         Found: com.sun.tools.javac.file.ZipArchive$ZipFileObject
      OK
      testZipArchive com.sun.tools.javac.file.ZipArchive$ZipFileObject java.lang.String
      OK
      testZipFileIndexArchive com.sun.tools.javac.file.ZipFileIndexArchive$ZipFileIndexFileObject java.lang.String
      OK
      testZipFileIndexArchive2 com.sun.tools.javac.file.ZipFileIndexArchive$ZipFileIndexFileObject java.lang.String
      OK
      java.lang.Exception: 1 error found
                           at TestInferBinaryName.run(TestInferBinaryName.java:68)
                           at TestInferBinaryName.main(TestInferBinaryName.java:57)
                           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: 1 error found
      JavaTest Message: shutting down test

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: