-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
8
-
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.
Test fails on compact3 and full 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/api/T6430241.java
...
error: expected warnings not found
test task API: [/work/profiles/ejre1.8.0-compact3/lib/resources.jar, /work/profiles/ejre1.8.0-compact3/lib/rt.jar, /work/profiles/ejre1.8.0-compact3/lib/sunrsasign.jar, /work/profiles/ejre1.8.0-compact3/lib/jsse.jar, /work/profiles/ejre1.8.0-compact3/lib/jce.jar, /work/profiles/ejre1.8.0-compact3/lib/charsets.jar, /work/profiles/ejre1.8.0-compact3/lib/jfr.jar, /work/profiles/ejre1.8.0-compact3/classes]
java.lang.Exception: 7 errors found
at T6430241.run(T6430241.java:49)
at T6430241.main(T6430241.java:39)
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
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/T6430241.java
...
error: expected warnings not found
test task API: [/work/profiles/ejre1.8.0-compact3/lib/resources.jar, /work/profiles/ejre1.8.0-compact3/lib/rt.jar, /work/profiles/ejre1.8.0-compact3/lib/sunrsasign.jar, /work/profiles/ejre1.8.0-compact3/lib/jsse.jar, /work/profiles/ejre1.8.0-compact3/lib/jce.jar, /work/profiles/ejre1.8.0-compact3/lib/charsets.jar, /work/profiles/ejre1.8.0-compact3/lib/jfr.jar, /work/profiles/ejre1.8.0-compact3/classes]
java.lang.Exception: 7 errors found
at T6430241.run(T6430241.java:49)
at T6430241.main(T6430241.java:39)
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
- relates to
-
JDK-8006156 compact3: tools/javac/6508981/TestInferBinaryName.java
-
- Closed
-