Mandy Chung wrote:
Steve,
I have prepared a patch from your contribution [1] to fix:
7068328: BufferPoolMXBean and PlatformLoggingMXBean getObjectName
may return null
Webrev at:
http://cr.openjdk.java.net/~mchung/7068328/webrev.00/
I have modified the fix to move the "result = objname" assignment
before the check to construct the ObjectName and also cover the
logging mxbean. Are you okay with this?
Serviceability team,
May I get a reviewer for this patch? I won't count myself as a
reviewer as I modify the fix.
Thanks for picking this up.
At L175 then this can be "if (result == null)" to avoid reading objname
again. Same thing at L233. The test looks fine.
-Alan.