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

SendaoYan syan at openjdk.org
Thu Sep 25 02:57:43 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.

SendaoYan has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge branch 'openjdk:master' into jbs8366221
 - 8366221: [11u] TestPromotionFromSurvivorToTenuredAfterMinorGC.java javac build fails

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/3079/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/3079/files/7bcf6894..c31f7403

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3079&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3079&range=00-01

  Stats: 20191 lines in 271 files changed: 10646 ins; 3762 del; 5783 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