Integrated: 8345153: Clean up SecurityManager references from jdk.compiler module
Jaikiran Pai
jpai at openjdk.org
Thu Dec 5 01:26:45 UTC 2024
On Thu, 28 Nov 2024 10:16:55 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
> Can I please get a review of this change which removes references to SecurityManager related APIs from the `jdk.compiler` module?
>
> With the removal of SecurityManager implementation, various parts of the JDK, including classloader construction or `ServiceLoader` usage will no longer do the `SecurityManager` backed security checks. Failure of such security checks would previously raise a `SecurityException`. With these checks now no longer applicable, the `SecurityException` is treated as any other regular `RuntimeException`. The commit in this PR removes the special treatment of `SecurityException` and other usages of SecurityManager implementation.
>
> No new tests have been added and existing tests in tier1, tier2 and tier3 continue to pass with this change.
This pull request has now been integrated.
Changeset: 63d09516
Author: Jaikiran Pai <jpai at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/63d095169aedb0c5dcf86f331f5ec5348a677923
Stats: 314 lines in 8 files changed: 0 ins; 274 del; 40 mod
8345153: Clean up SecurityManager references from jdk.compiler module
Reviewed-by: alanb, jlahoda, darcy
-------------
PR: https://git.openjdk.org/jdk/pull/22431
More information about the compiler-dev
mailing list