RFR: 8344856: Remove calls to SecurityManager and doPrivileged in subclasses of URLConnection in the sun.net package after JEP 486 integration
Volkan Yazıcı
duke at openjdk.org
Wed Nov 27 08:28:44 UTC 2024
This change set, addressing [8344856](https://bugs.openjdk.org/browse/JDK-8344856), removes `SecurityManager` and friends from `sun.net.FtpURLConnection`. This is the only leftover from `SM` cleanup in the subclasses of `URLConnection` in the `sun.net` package. Successful `tier1..3` CI runs on b02813b048ec63479c49e74ca6326a00409dd34f are shared in the ticket.
-------------
Commit messages:
- Fix copyright year
- Remove `doPriviledged()` and `privilegedGetProperties()` calls in `FtpURLConnection`
Changes: https://git.openjdk.org/jdk/pull/22407/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22407&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8344856
Stats: 13 lines in 1 file changed: 0 ins; 9 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/22407.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22407/head:pull/22407
PR: https://git.openjdk.org/jdk/pull/22407
More information about the net-dev
mailing list