RFR: JDK-8068155: [Findbugs]new sun.jvm.hotspot.utilities.ObjectReader() creates a sun.jvm.hotspot.utilities.ProcImageClassLoader classloader, which should be performed within a doPrivileged block

Sundararajan Athijegannathan sundararajan.athijegannathan at oracle.com
Wed Sep 14 08:24:21 UTC 2016


Does SA runs under security manager at all? For eg. can jhsdb tool run
under security manager? I doubt.

Do we want to make it runnable under security manager? If not, does this
fix makes sense?

-Sundar

On 9/14/2016 1:44 PM, Sharath Ballal wrote:
>
> Hello,
>
> Please review this fix to add creation of classloader code into
> doPrivileged block
>
> Issue: https://bugs.openjdk.java.net/browse/JDK-8068155
>
> Webrev: http://cr.openjdk.java.net/~sballal/8068155/webrev.00/
> <http://cr.openjdk.java.net/%7Esballal/8068155/webrev.00/>
>
>  
>
> -Sharath Ballal
>
>  
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20160914/531b3af8/attachment-0001.html>


More information about the serviceability-dev mailing list