Details
-
Bug
-
Resolution: Fixed
-
P3
-
8
-
b117
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8028909 | port-stage-ppc-aix | Robert Field | P3 | Resolved | Fixed | master |
Description
ManyNewInstanceAnonTest.java is a new test pushed as part of 7194897/8027681. The test appears to tickle a bug in the /jdk/testlibrary/ClassFileInstaller.java with the result that the test cannot run in agentvm mode.
#Test Results (version 2)
#Mon Nov 04 20:18:26 GMT 2013
#checksum:fa209f5a1329b52
#-----testdescription-----
$file=/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/sun/reflect/AnonymousNewInstance/ManyNewInstanceAnonTest.java
$root=/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test
author=Robert Field
keywords=bug7194897 othervm
library=/lib/testlibrary
run=USER_SPECIFIED compile -XDignore.symbol.file ManyNewInstanceAnonTest.java\nUSER_SPECIFIED main ClassFileInstaller ManyNewInstanceAnonTest\nUSER_SPECIFIED main/othervm -Xbootclasspath/a\:. -Xverify\:all ManyNewInstanceAnonTest\n
source=ManyNewInstanceAnonTest.java
title=JSR 292\: Cannot create more than 16 instances of an anonymous class
#-----environment-----
#-----testresult-----
description=file\:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/sun/reflect/AnonymousNewInstance/ManyNewInstanceAnonTest.java
elapsed=195 0\:00\:00.195
end=Mon Nov 04 20\:18\:26 GMT 2013
environment=regtest
execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.NullPointerException
hostname=ashtown.ie.oracle.com
javatestOS=Linux 3.2.0-23-generic (amd64)
javatestVersion=4.4
jtregVersion=jtreg 4.1 dev b00
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages compile build compile main
start=Mon Nov 04 20\:18\:26 GMT 2013
test=sun/reflect/AnonymousNewInstance/ManyNewInstanceAnonTest.java
user.name=jenkins
work=/data/jenkins/workspace/jdk8-tl-test/JTwork/sun/reflect/AnonymousNewInstance
#section:script_messages
----------messages:(5/312)----------
JDK under test: (/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image)
java version "1.8.0-internal"
Java(TM) SE Runtime Environment (build 1.8.0-internal-jenkins_2013_11_04_19_26-b00)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b56, mixed mode)
#section:compile
----------messages:(3/303)----------
command: compile -XDignore.symbol.file /data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/sun/reflect/AnonymousNewInstance/ManyNewInstanceAnonTest.java
reason: User specified action: run compile -XDignore.symbol.file ManyNewInstanceAnonTest.java
elapsed time (seconds): 0.054
----------rerun:(20/2704)*----------
HOME=/var/lib/jenkins \\
LANG=en_IE.UTF-8 \\
PATH=/bin:/usr/bin \\
/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/javac \\
-J-ea \\
-J-esa \\
-J-Xmx512m \\
-J-DCompatibilityTest.disableNetwork=true \\
-J-Dtest.vm.opts='-ea -esa -Xmx512m -DCompatibilityTest.disableNetwork=true' \\
-J-Dtest.class.path.prefix=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/sun/reflect/AnonymousNewInstance:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/sun/reflect/AnonymousNewInstance:/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/lib/testlibrary \\
-J-Dtest.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
-J-Dtest.src.path=/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/sun/reflect/AnonymousNewInstance:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/lib/testlibrary \\
-J-Dtest.compiler.opts= \\
-J-Dcompile.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
-J-Dtest.classes=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/sun/reflect/AnonymousNewInstance \\
-J-Dtest.class.path=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/sun/reflect/AnonymousNewInstance:/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/lib/testlibrary \\
-J-Dtest.java.opts= \\
-J-Dtest.src=/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/sun/reflect/AnonymousNewInstance \\
-J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-DCompatibilityTest.disableNetwork=true' \\
-d /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/sun/reflect/AnonymousNewInstance -classpath /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/sun/reflect/AnonymousNewInstance:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/sun/reflect/AnonymousNewInstance:/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/lib/testlibrary:/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/lib/tools.jar -sourcepath /data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/sun/reflect/AnonymousNewInstance:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/lib/testlibrary -XDignore.symbol.file /data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/sun/reflect/AnonymousNewInstance/ManyNewInstanceAnonTest.java
result: Passed. Compilation successful
#section:build
----------messages:(3/103)----------
command: build ClassFileInstaller
reason: Named class compiled on demand
elapsed time (seconds): 0.053
result: Passed. Build successful
#section:compile
----------messages:(3/241)----------
command: compile -XDignore.symbol.file=true /data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/lib/testlibrary/ClassFileInstaller.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.053
----------rerun:(20/2670)*----------
HOME=/var/lib/jenkins \\
LANG=en_IE.UTF-8 \\
PATH=/bin:/usr/bin \\
/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/javac \\
-J-ea \\
-J-esa \\
-J-Xmx512m \\
-J-DCompatibilityTest.disableNetwork=true \\
-J-Dtest.vm.opts='-ea -esa -Xmx512m -DCompatibilityTest.disableNetwork=true' \\
-J-Dtest.class.path.prefix=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/sun/reflect/AnonymousNewInstance:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/sun/reflect/AnonymousNewInstance:/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/lib/testlibrary \\
-J-Dtest.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
-J-Dtest.src.path=/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/sun/reflect/AnonymousNewInstance:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/lib/testlibrary \\
-J-Dtest.compiler.opts= \\
-J-Dcompile.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
-J-Dtest.classes=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/sun/reflect/AnonymousNewInstance \\
-J-Dtest.class.path=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/sun/reflect/AnonymousNewInstance:/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/lib/testlibrary \\
-J-Dtest.java.opts= \\
-J-Dtest.src=/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/sun/reflect/AnonymousNewInstance \\
-J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-DCompatibilityTest.disableNetwork=true' \\
-d /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/lib/testlibrary -classpath /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/sun/reflect/AnonymousNewInstance:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/sun/reflect/AnonymousNewInstance:/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/lib/testlibrary:/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/lib/tools.jar -sourcepath /data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/sun/reflect/AnonymousNewInstance:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/lib/testlibrary -XDignore.symbol.file=true /data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/lib/testlibrary/ClassFileInstaller.java
result: Passed. Compilation successful
#section:main
----------messages:(3/171)----------
command: main ClassFileInstaller ManyNewInstanceAnonTest
reason: User specified action: run main ClassFileInstaller ManyNewInstanceAnonTest
elapsed time (seconds): 0.087
----------rerun:(17/2159)*----------
HOME=/var/lib/jenkins \\
LANG=en_IE.UTF-8 \\
PATH=/bin:/usr/bin \\
/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/java \\
-Dtest.vm.opts='-ea -esa -Xmx512m -DCompatibilityTest.disableNetwork=true' \\
-Dtest.class.path.prefix=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/sun/reflect/AnonymousNewInstance:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/sun/reflect/AnonymousNewInstance:/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/lib/testlibrary \\
-Dtest.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
-Dtest.src.path=/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/sun/reflect/AnonymousNewInstance:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/lib/testlibrary \\
-Dtest.compiler.opts= \\
-Dcompile.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
-Dtest.classes=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/sun/reflect/AnonymousNewInstance \\
-Dtest.class.path=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/sun/reflect/AnonymousNewInstance:/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/lib/testlibrary \\
-Dtest.java.opts= \\
-Dtest.src=/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/sun/reflect/AnonymousNewInstance \\
-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-DCompatibilityTest.disableNetwork=true' \\
-classpath /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/sun/reflect/AnonymousNewInstance:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-04_19-18-13/archive/jdk/test/sun/reflect/AnonymousNewInstance:/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/0/lib/testlibrary:/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/lib/tools.jar \\
ClassFileInstaller ManyNewInstanceAnonTest
----------System.err:(16/836)----------
java.lang.NullPointerException
at java.nio.file.Files.provider(Files.java:97)
at java.nio.file.Files.createDirectory(Files.java:674)
at java.nio.file.Files.createAndCheckIsDirectory(Files.java:778)
at java.nio.file.Files.createDirectories(Files.java:727)
at ClassFileInstaller.main(ClassFileInstaller.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746)
at java.lang.Thread.run(Thread.java:744)
JavaTest Message: Test threw exception: java.lang.NullPointerException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
test result: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
Attachments
Issue Links
- backported by
-
JDK-8028909 test/sun/reflect/AnonymousNewInstance/ManyNewInstanceAnonTest.java fails in agentvm mode
- Resolved
- duplicates
-
JDK-8027799 TEST_BUG: sun/reflect/AnonymousNewInstance/ManyNewInstanceAnonTest fails on OS X
- Closed