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

Jan Lahoda jlahoda at openjdk.java.net
Thu Oct 8 12:01:50 UTC 2020


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.

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

Commit messages:
 - 8233685: Test tools/javac/modules/AddLimitMods.java fails

Changes: https://git.openjdk.java.net/jdk/pull/560/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=560&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8233685
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/560.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/560/head:pull/560

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


More information about the compiler-dev mailing list