-
Bug
-
Resolution: Fixed
-
P3
-
6u21, 7
-
b01
-
b85
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2188195 | 6u21 | Daniel Daugherty | P3 | Resolved | Fixed | b02 |
JDK-2191918 | 6u20-rev | Yumin Qi | P3 | Closed | Fixed | b03 |
JDK-2190612 | 6u19-rev | Yumin Qi | P3 | Closed | Fixed | b07 |
A new VM argument type "double" is added by the fix for 6631166 causes a regression to com.sun.management.HotSpotDiagnosticsMXBean API that throws NPE.
The following test failures due to this regression:
test/com/sun/management/HotSpotDiagnosticMXBean/GetDiagnosticOptions.java
test/com/sun/management/HotSpotDiagnosticMXBean/SetAllVMOptions.java
test/javax/management/MBeanServer/OldMBeanServerTest.java
java.lang.NullPointerException
at sun.management.HotSpotDiagnostic.getDiagnosticOptions(HotSpotDiagnostic.java:49)
at GetDiagnosticOptions.checkDiagnosticOptions(GetDiagnosticOptions.java:57)
at GetDiagnosticOptions.main(GetDiagnosticOptions.java:47)
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:613)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:717)
The following test failures due to this regression:
test/com/sun/management/HotSpotDiagnosticMXBean/GetDiagnosticOptions.java
test/com/sun/management/HotSpotDiagnosticMXBean/SetAllVMOptions.java
test/javax/management/MBeanServer/OldMBeanServerTest.java
java.lang.NullPointerException
at sun.management.HotSpotDiagnostic.getDiagnosticOptions(HotSpotDiagnostic.java:49)
at GetDiagnosticOptions.checkDiagnosticOptions(GetDiagnosticOptions.java:57)
at GetDiagnosticOptions.main(GetDiagnosticOptions.java:47)
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:613)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:717)
- backported by
-
JDK-2188195 HotSpotDiagnosticsMXBean.getDiagnosticOptions throws NPE
- Resolved
-
JDK-2190612 HotSpotDiagnosticsMXBean.getDiagnosticOptions throws NPE
- Closed
-
JDK-2191918 HotSpotDiagnosticsMXBean.getDiagnosticOptions throws NPE
- Closed
- duplicates
-
JDK-6937011 com/sun/management/HotSpotDiagnosticMXBean/GetDiagnosticOptions.java fails with NPE
- Closed
- relates to
-
JDK-6915365 assert(false,"Unsupported VMGlobal Type") at management.cpp:1540
- Resolved
-
JDK-6631166 CMS: better heuristics when combatting fragmentation
- Closed
(1 relates to)