On 12/02/2015 2:10 AM, Jaroslav Bachorik wrote:
Please, review the following simple change.
Issue : https://bugs.openjdk.java.net/browse/JDK-8072932
Webrev: http://cr.openjdk.java.net/~jbachorik/8072932/webrev.00
This patch is about replacing the
j.s.AccessControlContext.getDomainCombiner() with the package-private
version j.s.AccessControlContext.getCombiner() to prevent the
unnecessary privilege check done by the public getDomainCombiner() method.
Just wondering: would the original call succeed if placed in a doPrivileged?
David
Thanks,
-JB-