[jdk8u-dev] RFR: 8170464: Remove shell script from compiler/c2/cr7005594/Test7005594.java

Andrew John Hughes andrew at openjdk.org
Mon Feb 2 14:48:40 UTC 2026


This backport converts `Test7005594.java` to be pure Java rather than a mix of Java and shell, which is currently causing test failures.

The patch is not clean due to a couple of moves and minor changes now made redundant by the removal of the script.  The final Java test file matches that in 11u.

1.  File move from [8062854](https://bugs.openjdk.org/browse/JDK-8062854): "move compiler jtreg test to corresponding subfolders and use those in TEST.groups"
2. File move from [8132919](https://bugs.openjdk.org/browse/JDK-8132919): "Put compiler tests in packages"
3. File  move from [8187443](https://bugs.openjdk.org/browse/JDK-8187443): "Forest Consolidation: Move files to unified layout"
4. Changes to how Java was invoked in the script in [8135068](https://bugs.openjdk.org/browse/JDK-8135068): "Extract method matchers from CompilerOracle"
5. Changes to how memory was calculated in the script in [8376338](https://bugs.openjdk.org/browse/JDK-8376338): "Test7005594.sh fails when given a memory value with decimals"

Created on top of pr/742 to get a Mac run

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

Depends on: https://git.openjdk.org/jdk8u-dev/pull/742

Commit messages:
 - Backport d652c70de6425a67907e00e75521588ec4a2e940

Changes: https://git.openjdk.org/jdk8u-dev/pull/755/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=755&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8170464
  Stats: 220 lines in 3 files changed: 53 ins; 167 del; 0 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/755.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/755/head:pull/755

PR: https://git.openjdk.org/jdk8u-dev/pull/755


More information about the jdk8u-dev mailing list