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

2019-03-07 Thread Sean Mullan
On 3/5/19 7:50 PM, Weijun Wang wrote: The fix looks fine to me. However, is PolicyUtil::getInputStream correct? Will it cause any problem when a UNC path is used in -Djava.security.policy? If you specify the UNC policy file as just a file pathname (and not a "file:" URL), ex: -Djava.securi

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

2019-03-05 Thread Weijun Wang
The fix looks fine to me. However, is PolicyUtil::getInputStream correct? Will it cause any problem when a UNC path is used in -Djava.security.policy? I've seen several code changes around UNC recently. Wonder if we've finally fix it and PolicyUtil::getInputStream can always call url.openStream