Peter,
Thanks for the exhaustive analysis.
Filed JDK-8076596 [1]
Best regards,
Vladimir Ivanov
[1] https://bugs.openjdk.java.net/browse/JDK-8076596
On 3/30/15 11:01 PM, Peter Levart wrote:
Hi Max,
On 03/30/2015 05:24 PM, Wang Weijun wrote:
I have a customized security manager:
import jav
On 30/03/2015 21:01, Peter Levart wrote:
:
I think that java.lang.invoke infrastructure initialization should not
need to have access to system class loader. All types it deals with
are loadable by bootstrap class loader. I too have already encountered
a problem because of that and my suggest
The NPE is at BytecodeDescriptor.parseSig#83, which says:
return loader.loadClass(name);
so the null ref seems likely to be loader. The loader is initially
passed in from BoundMethodHandle#817, which provides a null loader,
indicating that it wants the system loader. At th
Hi Max,
On 03/30/2015 05:24 PM, Wang Weijun wrote:
I have a customized security manager:
import java.security.AccessController;
import java.security.PrivilegedAction;
public class A3 extends SecurityManager {
public A3() {
// 1. Using lambda
AccessController.doPrivileged
I have a customized security manager:
import java.security.AccessController;
import java.security.PrivilegedAction;
public class A3 extends SecurityManager {
public A3() {
// 1. Using lambda
AccessController.doPrivileged((PrivilegedAction)
() -> null);