JDK-8273487 : Zero: Handle "zero" variant in runtime tests
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 17,18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-09-08
  • Updated: 2023-12-10
  • Resolved: 2021-09-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17 JDK 18
17.0.2Fixed 18 b15Fixed
Related Reports
Blocks :  
Relates :  
Description
JDK-8179317 rewritten runtime shell tests to Java. There is a little omission in VM variant selection, which makes Zero fail some of the tier1 tests, like:

$ CONF=linux-x86_64-zero-fastdebug make exploded-test TEST=runtime/StackGap/TestStackGap.java

STDERR:
java.lang.Error: TESTBUG: unsupported vm variant
	at jdk.test.lib.Platform.variant(Platform.java:368)
	at jdk.test.lib.Platform.jvmLibDir(Platform.java:357)
	at jdk.test.lib.process.ProcessTools.addJvmLib(ProcessTools.java:585)
	at jdk.test.lib.process.ProcessTools.createNativeTestProcessBuilder(ProcessTools.java:575)

Comments
Fix Request (17u) Fixes a few remaining tests in `tier1` for Zero. Applies cleanly, tests start to pass.
04-10-2021

Changeset: 8c16f485 Author: Aleksey Shipilev <shade@openjdk.org> Date: 2021-09-09 08:07:00 +0000 URL: https://git.openjdk.java.net/jdk/commit/8c16f485b341ee3071c91df39dfb9ba8b9caa44d
09-09-2021