JDK-8166837 : [TESTBUG] Fix tests on Linux/s390x
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: s390x
  • Submitted: 2016-09-28
  • Updated: 2016-12-22
  • Resolved: 2016-11-07
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 9
9 b150Fixed
Related Reports
Relates :  
Description
These are some small changes (basically platform detection and exclusion of some tests) to fix the jtreg tests on Linux/s390x.

Base repository:
---------------------

Add isS390x() to platform.java. Sort checks alphabetically.
Add s390x to shouldSAAttach.

Hotspot repository:
-------------------------

compiler/ciReplay/SABase.java
SA writes "Command not valid until the attached to a VM" to test_replay.txt.
Disable test is SA not supported.

compiler/intrinsics/sha/cli/...
Add checks for corresponding cpu feature.

Adapt test_env.sh and TestMutuallyExclusivePlatformPredicates.java 

jdk repostiory:
------------------
test/java/awt/JAWT/JAWT.sh
Exclude this test.

test/sun/tools/jhsdb/heapconfig/...
Use Platform.java from base repo which known that s390 does not support SA.