RFR: JDK-8281217: Source file launch with security manager enabled fails

Athijegannathan Sundararajan sundar at openjdk.java.net
Fri Feb 18 05:10:53 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.

LGTM

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

Marked as reviewed by sundar (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/7518


More information about the compiler-dev mailing list