RFR: 8344364: Remove unused SecurityManager-related imports from java.lang.instrument.ClassFileTransformer
Alan Bateman
alanb at openjdk.org
Mon Nov 18 06:58:45 UTC 2024
On Sun, 17 Nov 2024 18:04:57 GMT, Eirik Bjørsnøs <eirbjo at openjdk.org> wrote:
> Please review this trivial cleanup which removes unused imports of `java.security.AccessController` and `java.security.PrivilegedAction` from `java.lang.instrument.ClassFileTransformer`.
>
> History: These imports came with the new transform method introduced by the module system implementation in JDK-8142968 and were left unused when JDK-8159147 instead added a ClassLoader parameter to the new transform method.
>
> Verification: `make images` succeeds.
JDK-8344187 has the changes for the java.instrument module, Kevin has a PR coming with the changes.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22184#issuecomment-2482102001
More information about the serviceability-dev
mailing list