RFR : JDK-8162702 - com.sun.management.internal.GcInfoBuilder.getPoolNames should not return reference of it's private member

David Holmes david.holmes at oracle.com
Mon Aug 1 00:40:12 UTC 2016


Hi Amit,

On 29/07/2016 6:20 PM, Amit Sapre wrote:
> Hello,
>
> Please review this small fix.
>
> Bug : https://bugs.openjdk.java.net/browse/JDK-8162702
>
> Webrev : http://cr.openjdk.java.net/~hb/sponsorship/8162702/webrev.00/

This is good defensive programming practice for exported API's, but in 
this case isn't this a private API only accessible to trusted code?

Thanks,
David

>
>
> Amit
>


More information about the serviceability-dev mailing list