RFR: 8233685: Test tools/javac/modules/AddLimitMods.java fails
Vicente Romero
vromero at openjdk.java.net
Thu Oct 8 12:55:45 UTC 2020
On Thu, 8 Oct 2020 11:56:44 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
> The ToolBox' JavaTask by default picks up content of system property "test.java.opts". In the case of this bug,
> test.java.opts contains "-XX:+FlightRecorder". And one of the sub-tests (testRuntime2Compile) of the AddLimitMods test
> tries to invoke the java launcher with "--limit-modules java.base", and this fails because flight recorder cannot
> start. The proposal is to avoid using the content of test.java.opts for that test.
looks good
-------------
Marked as reviewed by vromero (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/560
More information about the compiler-dev
mailing list