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

SendaoYan syan at openjdk.org
Fri Oct 24 02:03:08 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 three additional commits since the last revision:

 - Merge branch 'openjdk:master' into jbs8366221
 - 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/c31f7403..7cd1d3b9

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

  Stats: 7574 lines in 134 files changed: 3851 ins; 2455 del; 1268 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