RFR [13]: 8218618: Program fails when using JDK addressed by UNC path and using Security Manager

Sean Mullan sean.mullan at oracle.com
Tue Mar 5 19:53:17 UTC 2019


Please review this fix to a regression introduced in JDK 9. An 
application run with a SecurityManager and using a JDK that is accessed 
over the network using a UNC path fails to startup and throws an 
InternalError.

The fix is to load default.policy as a regular File rather than a URL 
(URLs are only necessary for policy files configured in the 
java.security file). No regression test because it involves a manual 
setup (noreg-hard).

webrev: http://cr.openjdk.java.net/~mullan/webrevs/8218618/webrev.00/
bugid: https://bugs.openjdk.java.net/browse/JDK-8218618

--Sean



More information about the security-dev mailing list