Integrated: JDK-8281217: Source file launch with security manager enabled fails
Jonathan Gibbons
jjg at openjdk.java.net
Wed Feb 23 16:53:52 UTC 2022
On Thu, 17 Feb 2022 16:22:53 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
> Please review a small change to the source-code launcher to formally reject the use of a security manager in programs launched by the source-code launcher. This changes the previous behavior where it was tacitly allowed but would trigger an `IllegalAccessException` unless extra (effectively, all) privileges were granted to the `jdk.compiler` module.
>
> The test is modified too reflect the new behavior.
This pull request has now been integrated.
Changeset: 99b8ed9d
Author: Jonathan Gibbons <jjg at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/99b8ed9dbf88e21a42a8d2f6249bfab7176e7d42
Stats: 67 lines in 3 files changed: 26 ins; 28 del; 13 mod
8281217: Source file launch with security manager enabled fails
Reviewed-by: sundar
-------------
PR: https://git.openjdk.java.net/jdk/pull/7518
More information about the compiler-dev
mailing list