-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
None
-
The JRE under test is either the full JRE or the compact3 profile, build from the jdk8/profiles forest.
The compilejdk used to compile test is the full JDK build from jdk8/profiles.
In order to run langtools test, the toolsjar file must be manually installed in the JRE under test, as the compact profiles do not include this. However, the compiler is suppose to work with compact3, when exercised through the compiler API.The JRE under test is either the full JRE or the compact3 profile, build from the jdk8/profiles forest. The compilejdk used to compile test is the full JDK build from jdk8/profiles. In order to run langtools test, the toolsjar file must be manually installed in the JRE under test, as the compact profiles do not include this. However, the compiler is suppose to work with compact3, when exercised through the compiler API.
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
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
- relates to
-
JDK-8006158 compact3: tools/javac/api/T6430241.java
-
- Closed
-