RFR: 8169993: Class::desiredAssertionStatus should call getClassLoader0

Paul Sandoz paul.sandoz at oracle.com
Fri Nov 18 19:02:56 UTC 2016


> On 18 Nov 2016, at 06:52, Claes Redestad <claes.redestad at oracle.com> wrote:
> 
> Hi,
> 
> having classes ask the security manager for permission to access its own class loader
> when probing for assertion status during class initialization appears pointless.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8169993
> Webrev: http://cr.openjdk.java.net/~redestad/8169993/webrev.01/
> 

+1

Paul.


More information about the core-libs-dev mailing list