CR: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7087969
The fix is very simple, converting ticks into milliseconds before using them to create the notification. This fix makes the notification consistent with the other API returning GcInfo instances. Webrev: http://cr.openjdk.java.net/~fparain/7087969/webrev.00/ Tested manually and with JPRT by running the jdk_management suite. No new test has been added because the fix is in the HotSpot repository, and the GarbageCollectorMXBean notification unit tests are in the jdk repository. Thanks, Fred -- Frederic Parain - Oracle Grenoble Engineering Center - France Phone: +33 4 76 18 81 17 Email: [email protected]
