RFR: 8344183: (zipfs) SecurityManager cleanup in the ZipFS area [v3]
Eirik Bjørsnøs
eirbjo at openjdk.org
Thu Nov 14 17:01:49 UTC 2024
On Thu, 14 Nov 2024 15:52:32 GMT, Sean Mullan <mullan at openjdk.org> wrote:
>> Eirik Bjørsnøs has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - Revert catching of NoSuchFileException in expectedDefaultOwner and expectedDefaultGroup
>> - Remove @SuppressWarnings("removal")
>
> src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipFileSystem.java line 252:
>
>> 250: if (o == null) {
>> 251: try {
>> 252: PrivilegedExceptionAction<UserPrincipal> pa = ()->Files.getOwner(zfpath);
>
> Can you also remove the `@SuppressWarnings("removal")` on line 239?
Removed this and the others.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22101#discussion_r1842588438
More information about the core-libs-dev
mailing list