Integrated: 8344185: Remove calls to SecurityManager in sun.net.ftp

Eirik Bjørsnøs eirbjo at openjdk.org
Fri Nov 15 09:51:28 UTC 2024


On Thu, 14 Nov 2024 12:57:25 GMT, Eirik Bjørsnøs <eirbjo at openjdk.org> wrote:

> Please review this PR which removes uses of `AccessController::doPrivileged` in `sun/net/ftp`.
> 
> Changes are mostly straightforward, one exception is the removal of the somewhat exotic unwrapping of temporary arrays in the static initializer of `impl/FtpClient`.
> 
> Testing: `test/jdk/sun/net/ftp` run green. GHA results pending.

This pull request has now been integrated.

Changeset: 0c191f66
Author:    Eirik Bjørsnøs <eirbjo at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0c191f66299900d5de2629f6c6a761c55c7a97b5
Stats:     76 lines in 3 files changed: 1 ins; 54 del; 21 mod

8344185: Remove calls to SecurityManager in sun.net.ftp

Reviewed-by: alanb, michaelm, dfuchs

-------------

PR: https://git.openjdk.org/jdk/pull/22105


More information about the net-dev mailing list