JDK-7049132 : com/sun/management/GarbageCollectorMXBean/LastGCInfo.java fails with JDK7 b143
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2011-05-27
  • Updated: 2011-06-01
  • Resolved: 2011-06-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbd_minorResolved
Related Reports
Duplicate :  
Description
The log is:

java.lang.RuntimeException: No GcInfo returned
        at LastGCInfo.main(LastGCInfo.java:59)
        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:601)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:722)

JavaTest Message: Test threw exception: java.lang.RuntimeException: No GcInfo returned
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: No GcInfo returned
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: No GcInfo returned


test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: No GcInfo returned

Reproducible on linux and solaris. VM options '-client -Xcomp -XX:+StartAttachListener -XX:+UseConcMarkSweepGC' were used to reproduce.