-
Bug
-
Resolution: Fixed
-
P4
-
5.0u51, 6u51, 7u45, 8
-
b08
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8163628 | 8u121 | Robert Mckenna | P4 | Resolved | Fixed | b01 |
JDK-8156135 | 8u112 | Robert Mckenna | P4 | Resolved | Fixed | b01 |
JDK-8167735 | emb-8u121 | Robert Mckenna | P4 | Resolved | Fixed | b01 |
JDK-8156215 | 7u121 | Robert Mckenna | P4 | Resolved | Fixed | b01 |
JDK-8160788 | 7u111 | Robert Mckenna | P4 | Resolved | Fixed | b31 |
java -Djava.security.debug=all Test
You will see the NPE and stack towards the end of the debug log:
Exception in thread "main" java.lang.NullPointerException
at java.security.ProtectionDomain.getPrincipals(ProtectionDomain.java:222)
at sun.security.provider.PolicyFile.printPD(PolicyFile.java:1774)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1178)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1132)
at java.security.ProtectionDomain$2.run(ProtectionDomain.java:367)
at java.security.ProtectionDomain$2.run(ProtectionDomain.java:364)
- backported by
-
JDK-8156135 Null ProtectionDomain in JVM can cause NPE because principals field is not initialized to an empty array
- Resolved
-
JDK-8156215 Null ProtectionDomain in JVM can cause NPE because principals field is not initialized to an empty array
- Resolved
-
JDK-8160788 Null ProtectionDomain in JVM can cause NPE because principals field is not initialized to an empty array
- Resolved
-
JDK-8163628 Null ProtectionDomain in JVM can cause NPE because principals field is not initialized to an empty array
- Resolved
-
JDK-8167735 Null ProtectionDomain in JVM can cause NPE because principals field is not initialized to an empty array
- Resolved
- relates to
-
JDK-8085903 New fix for memory leak in ProtectionDomain cache
- Closed