Fix sa version check for 1.7 release.
jtreg test:
sun/tools/jinfo/Basic.sh
is failing due to this:
----------System.err:(54/3363)----------
Attaching to process ID 4683, please wait...
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.tools.jinfo.JInfo.runTool(JInfo.java:79)
at sun.tools.jinfo.JInfo.main(JInfo.java:53)
Caused by: sun.jvm.hotspot.runtime.VMVersionMismatchException: Supported version
s are 1.6.0, 1.6.0_xx. Target VM is 1.7.0-ea-b02
at sun.jvm.hotspot.runtime.VM.checkVMVersion(VM.java:197)
at sun.jvm.hotspot.runtime.VM.<init>(VM.java:236)
at sun.jvm.hotspot.runtime.VM.initialize(VM.java:289)
at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:576)
at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:476)
at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:314)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:146)
at sun.jvm.hotspot.tools.JInfo.main(JInfo.java:111)
See attached file "Basic.jtr"
jtreg test:
sun/tools/jinfo/Basic.sh
is failing due to this:
----------System.err:(54/3363)----------
Attaching to process ID 4683, please wait...
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.tools.jinfo.JInfo.runTool(JInfo.java:79)
at sun.tools.jinfo.JInfo.main(JInfo.java:53)
Caused by: sun.jvm.hotspot.runtime.VMVersionMismatchException: Supported version
s are 1.6.0, 1.6.0_xx. Target VM is 1.7.0-ea-b02
at sun.jvm.hotspot.runtime.VM.checkVMVersion(VM.java:197)
at sun.jvm.hotspot.runtime.VM.<init>(VM.java:236)
at sun.jvm.hotspot.runtime.VM.initialize(VM.java:289)
at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:576)
at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:476)
at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:314)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:146)
at sun.jvm.hotspot.tools.JInfo.main(JInfo.java:111)
See attached file "Basic.jtr"
- duplicates
-
JDK-6581408 Most of serviceability tools fail in 6u3b01 due to version check
- Resolved
- relates to
-
JDK-6582065 sun/tools/jinfo/Basic.sh test is failing against 6u03
- Closed