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

Sharath Ballal sharath.ballal at oracle.com
Wed Sep 14 12:02:07 UTC 2016


Sundar,

> Does SA runs under security manager at all? For eg. can jhsdb tool run under security manager? I doubt.
I am checking on this.

 

-Sharath Ballal

 

 

From: Sundararajan Athijegannathan 
Sent: Wednesday, September 14, 2016 1:54 PM
To: Sharath Ballal; serviceability-dev at openjdk.java.net
Subject: Re: 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

 

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: HYPERLINK "http://cr.openjdk.java.net/%7Esballal/8068155/webrev.00/"http://cr.openjdk.java.net/~sballal/8068155/webrev.00/ 

 

-Sharath Ballal

 

 

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


More information about the serviceability-dev mailing list