-
Bug
-
Resolution: Fixed
-
P3
-
8
-
b45
-
generic
-
generic
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8019052 | 7u45 | Alan Bateman | P3 | Closed | Fixed | b01 |
JDK-8004003 | 7u40 | Robert Mckenna | P3 | Closed | Fixed | b04 |
JDK-8010563 | 7u25 | Alan Bateman | P3 | Closed | Fixed | b03 |
JDK-8008841 | 7u21 | Alan Bateman | P3 | Resolved | Fixed | b02 |
The SA work is tracked by 7175133, this new bug proposes to temporarily skip the options that uses SA so that the test can run. Once SA has been updated then these options can be re-enabled again.
Test Results (version 2)
#Thu Jun 07 18:53:48 PDT 2012
#checksum:73561efe410366fc
#-----testdescription-----
$file=/export/home/aurora/sandbox/testbase/test/sun/tools/jinfo/Basic.sh
$root=/export/home/aurora/sandbox/testbase/test
keywords=bug6402766 shell
library=../common
run=USER_SPECIFIED build SimpleApplication ShutdownSimpleApplication\nUSER_SPECIFIED shell Basic.sh\n
source=Basic.sh
title=Unit test for jinfo utility
#-----environment-----
#-----testresult-----
description=file\:/export/home/aurora/sandbox/testbase/test/sun/tools/jinfo/Basic.sh
elapsed=5916 0\:00\:05.916
end=Thu Jun 07 18\:53\:48 PDT 2012
environment=regtest
execStatus=Failed. Execution failed\: exit code 1
hostname=jsn-gtwy-1
javatestOS=Linux 2.6.18-194.el5 (i386)
javatestVersion=4.4
jtregVersion=jtreg 4.1 fcs b04
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile shell
start=Thu Jun 07 18\:53\:43 PDT 2012
test=sun/tools/jinfo/Basic.sh
user.name=aurora
work=/export/home/aurora/sandbox/gresults/testoutput/jdk_tools2/JTwork/sun/tools/jinfo
#section:script_messages
----------messages:(4/219)----------
JDK under test: (/export/home/aurora/sandbox/jdk)
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-langtools-nightly-h251-20120607-b43-b00)
Java HotSpot(TM) Client VM (build 24.0-b12, mixed mode)
#section:build
----------messages:(3/175)----------
command: build SimpleApplication ShutdownSimpleApplication
reason: User specified action: run build SimpleApplication ShutdownSimpleApplication
elapsed time (seconds): 0.052
result: Passed. Build successful
#section:compile
----------messages:(3/286)----------
command: compile /export/home/aurora/sandbox/testbase/test/sun/tools/jinfo/../common/SimpleApplication.java /export/home/aurora/sandbox/testbase/test/sun/tools/jinfo/../common/ShutdownSimpleApplication.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.05
result: Passed. Compilation successful
#section:shell
----------messages:(3/108)----------
command: shell Basic.sh []
reason: User specified action: run shell Basic.sh
elapsed time (seconds): 5.863
----------System.out:(12/486)----------
INFO: waiting for SimpleApplication to initialize...
INFO: SimpleApplication is process 10332
INFO: SimpleApplication output is in /export/home/aurora/sandbox/gresults/testoutput/jdk_tools2/JTwork/classes/sun/tools/jinfo/Application.out
null =
-XX:+UsePerfData
Java System Properties:
null = -XX:-PrintGC
INFO: Port number of SimpleApplication: 40733
INFO: Connecting to port 40733 to shutdown SimpleApplication ...
INFO: done connecting to SimpleApplication.
INFO: waiting for 10332
----------System.err:(44/2151)----------
error: "kernel.yama.ptrace_scope" is an unknown key
Attaching to process ID 10332, please wait...
Debugger attached successfully.
Client compiler detected.
JVM version is 24.0-b12
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:474)
at sun.tools.jinfo.JInfo.runTool(JInfo.java:97)
at sun.tools.jinfo.JInfo.main(JInfo.java:71)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.hash(Hashtable.java:202)
at java.util.Hashtable.get(Hashtable.java:404)
at sun.jvm.hotspot.tools.SysPropsDumper.run(SysPropsDumper.java:43)
at sun.jvm.hotspot.tools.JInfo.run(JInfo.java:84)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:221)
at sun.jvm.hotspot.tools.JInfo.main(JInfo.java:128)
... 6 more
Attaching to process ID 10332, please wait...
Debugger attached successfully.
Client compiler detected.
JVM version is 24.0-b12
Attaching to process ID 10332, please wait...
Debugger attached successfully.
Client compiler detected.
JVM version is 24.0-b12
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:474)
at sun.tools.jinfo.JInfo.runTool(JInfo.java:97)
at sun.tools.jinfo.JInfo.main(JInfo.java:71)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.hash(Hashtable.java:202)
at java.util.Hashtable.get(Hashtable.java:404)
at sun.jvm.hotspot.tools.SysPropsDumper.run(SysPropsDumper.java:43)
at sun.jvm.hotspot.tools.JInfo$1.run(JInfo.java:69)
at sun.jvm.hotspot.tools.JInfo.run(JInfo.java:84)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:221)
at sun.jvm.hotspot.tools.JInfo.main(JInfo.java:128)
... 6 more
result: Failed. Execution failed: exit code 1
test result: Failed. Execution failed: exit code 1
- backported by
-
JDK-8008841 Disable SA options in jinfo/Basic.java test until SA updated for new hash and String count/offset
-
- Resolved
-
-
JDK-8004003 Disable SA options in jinfo/Basic.java test until SA updated for new hash and String count/offset
-
- Closed
-
-
JDK-8010563 Disable SA options in jinfo/Basic.java test until SA updated for new hash and String count/offset
-
- Closed
-
-
JDK-8019052 Disable SA options in jinfo/Basic.java test until SA updated for new hash and String count/offset
-
- Closed
-
- relates to
-
JDK-7175133 jinfo failed to get system properties after 6924259
-
- Closed
-
-
JDK-8004007 test/sun/tools/jinfo/Basic.sh fails on when runSA is set to true
-
- Resolved
-