hg: jdk8u/jdk8u-dev/hotspot: 8036630: Null ProtectionDomain in JVM can cause NPE because principals field is not initialized to an empty array

rob.mckenna at oracle.com rob.mckenna at oracle.com
Thu May 5 12:29:06 UTC 2016


Changeset: 0a78f55d49fa
Author:    robm
Date:      2016-05-05 13:28 +0100
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/hotspot/rev/0a78f55d49fa

8036630: Null ProtectionDomain in JVM can cause NPE because principals field is not initialized to an empty array
Summary: Call ProtectionDomain constructor instead of making all fields null.
Reviewed-by: fparain, zgu

! src/share/vm/classfile/vmSymbols.hpp
! src/share/vm/prims/jvm.cpp



More information about the jdk8u-all-changes mailing list