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

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Tue Mar 18 19:12:17 UTC 2014


Changeset: 26ddfd00fe60
Author:    coleenp
Date:      2014-03-18 13:45 -0400
URL:       http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/26ddfd00fe60

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 jdk9-all-changes mailing list