[jdk11u-dev] RFR: 8366221: [11u] TestPromotionFromSurvivorToTenuredAfterMinorGC.java javac build fails

SendaoYan syan at openjdk.org
Wed Aug 27 06:14:55 UTC 2025


Hi all,

The test gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterMinorGC.java use the class SurvivorAlignmentTestMain and AlignmentHelper which located in the same directory with tested class. I think we should build the depencied class explictly to avoid jtreg report javac compile failure.

This test was removed by https://bugs.openjdk.org/browse/JDK-8255298, So this test only effect jdk11u.

Change has been verified locally, test-fix only, no risk.

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

Commit messages:
 - 8366221: [11u] TestPromotionFromSurvivorToTenuredAfterMinorGC.java javac build fails

Changes: https://git.openjdk.org/jdk11u-dev/pull/3079/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3079&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8366221
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/3079.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/3079/head:pull/3079

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


More information about the jdk-updates-dev mailing list