jdk11u-dev icon indicating copy to clipboard operation
jdk11u-dev copied to clipboard

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

Open sendaoYan opened this issue 3 months ago • 7 comments

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.


Progress

  • [x] Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • [x] Change must not contain extraneous whitespace
  • [x] Commit message must refer to an issue
  • [ ] JDK-8366221 needs maintainer approval

Issue

  • JDK-8366221: [11u] TestPromotionFromSurvivorToTenuredAfterMinorGC.java javac build fails (Bug - P4)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/3079/head:pull/3079
$ git checkout pull/3079

Update a local copy of the PR:
$ git checkout pull/3079
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/3079/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 3079

View PR using the GUI difftool:
$ git pr show -t 3079

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/3079.diff

Using Webrev

Link to Webrev Comment

sendaoYan avatar Aug 27 '25 06:08 sendaoYan