[jdk11u-dev] RFR: 8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts

Goetz Lindenmaier goetz at openjdk.org
Sun Jun 25 13:55:13 UTC 2023


I backport this for parity with 11.0.20-oracle.

A row of files are not in 11 or have been moved. 
Some trivial resolves were necessary.
An extra commit fixes the remaining occurances.

test/hotspot/jtreg/compiler/graalunit/common/GraalUnitTestLauncher.java
Context

not in 11: test/hotspot/jtreg/gc/logging/TestMetaSpaceLog.java
not in 11: test/hotspot/jtreg/gc/nvdimm/TestAllocateOldGenAt.java
not in 11: test/hotspot/jtreg/gc/nvdimm/TestAllocateOldGenAtError.java
not in 11: test/hotspot/jtreg/gc/nvdimm/TestAllocateOldGenAtMultiple.java
not in 11: test/hotspot/jtreg/gc/nvdimm/TestHumongousObjectsOnNvdimm.java
not in 11: test/hotspot/jtreg/gc/nvdimm/TestOldObjectsOnNvdimm.java
not in 11: test/hotspot/jtreg/gc/nvdimm/TestYoungObjectsOnDram.java

test/hotspot/jtreg/runtime/7162488/TestUnrecognizedVmOption.java
Later change undoes this, and is already backported (8247741). Skipped.

not in 11: test/hotspot/jtreg/runtime/InvocationTests/invocationC1Tests.java
not in 11: test/hotspot/jtreg/runtime/InvocationTests/invocationGraalTests.java
not in 11: test/hotspot/jtreg/runtime/InvocationTests/invokeinterfaceTests.java
not in 11: test/hotspot/jtreg/runtime/InvocationTests/invokespecialTests.java
not in 11: test/hotspot/jtreg/runtime/InvocationTests/invokevirtualTests.java

not in 11: test/hotspot/jtreg/runtime/cds/SharedArchiveFile.java
not in 11: test/hotspot/jtreg/runtime/cds/appcds/DumpClassList.java
not in 11: test/hotspot/jtreg/runtime/cds/appcds/GraalWithLimitedMetaspace.java
not in 11: test/hotspot/jtreg/runtime/cds/appcds/TestCommon.java
not in 11: test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicArchiveTestBase.java
not in 11: test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/NoClassToArchive.java
not in 11: test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SharedStringsBasic.java
not in 11: test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SysDictCrash.java

test/hotspot/jtreg/runtime/handshake/HandshakeTransitionTest.java
Context

test/hotspot/jtreg/serviceability/logging/TestLogRotation.java
Extra empty line.

test/hotspot/jtreg/serviceability/sa/TestJmapCore.java
Context.

not in 11: test/jdk/java/lang/RuntimeTests/shutdown/ShutdownInterruptedMain.java
not in 11: test/jdk/jdk/jfr/api/consumer/streaming/TestCrossProcessStreaming.java
not in 11: test/jdk/jdk/jfr/api/consumer/streaming/TestProcess.java
not in 11: test/jdk/jdk/jfr/event/runtime/TestDumpReason.java
not in 11: test/jdk/jdk/jfr/event/runtime/TestShutdownEvent.java
not in 11: test/jdk/sun/security/ssl/SSLSessionImpl/ResumptionUpdateBoundValues.java

test/lib/jdk/test/lib/process/ProcessTools.java
Context.

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

Commit messages:
 - Additional edits, moved files
 - Backport 81597d9f8fbc40bb1a26ca9fe66ece3caf1c9dda

Changes: https://git.openjdk.org/jdk11u-dev/pull/2000/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2000&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8244078
  Stats: 212 lines in 75 files changed: 30 ins; 62 del; 120 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/2000.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2000/head:pull/2000

PR: https://git.openjdk.org/jdk11u-dev/pull/2000


More information about the jdk-updates-dev mailing list