Integrated: 8233685: Test tools/javac/modules/AddLimitMods.java fails

Jan Lahoda jlahoda at openjdk.java.net
Fri Oct 9 06:26:20 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.

This pull request has now been integrated.

Changeset: a2f65190
Author:    Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a2f65190
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

8233685: Test tools/javac/modules/AddLimitMods.java fails

Reviewed-by: vromero

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

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


More information about the compiler-dev mailing list