RFR: 8210469: Missing doPriviledged block and permission for jdk.zipfs module

Alan Bateman Alan.Bateman at oracle.com
Sun Jan 27 07:41:21 UTC 2019


On 25/01/2019 17:03, Lance Andersen wrote:
>
>> On Jan 25, 2019, at 3:55 AM, Alan Bateman <Alan.Bateman at oracle.com 
>> <mailto:Alan.Bateman at oracle.com>> wrote:
>>
>>
>> Here's an alternative that avoids the cast, it might be a bit more 
>> readable.
>>
>> PrivilegedExceptionAction<Path> action = tempPath::toRealPath;
>> zfpath = AccessController.doPrivileged(action);
>>
>> In the test then you it might be clearer to rename ZIPFS_MAP to 
>> ZIPFS_OPTIONS.
>
> Okie Dokie part 2 ;-)
>
> Updates can be found here: 
> http://cr.openjdk.java.net/~lancea/8210469/webrev.02/index.html
>
Looks good.

-Alan


More information about the core-libs-dev mailing list