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

8335894: [8u] Fix SupplementalJapaneseEraTest.java for jdks with symlinked conf dir

Open sendaoYan opened this issue 1 year ago • 8 comments
trafficstars

Hi all, Fix the testcase bug, which if the tested jdk directory is symlinked, symlinks are followed when copying tested jdk. This is similar to JDK-8309138. Only change the testcase, the change has been verified, no risk.


Progress

  • [ ] 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-8335894 needs maintainer approval

Issue

  • JDK-8335894: [8u] Fix SupplementalJapaneseEraTest.java for jdks with symlinked conf dir (Bug - P4 - Requested)

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 542

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

Using diff file

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

Webrev

Link to Webrev Comment

sendaoYan avatar Jul 08 '24 15:07 sendaoYan

:wave: Welcome back syan! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

bridgekeeper[bot] avatar Jul 08 '24 15:07 bridgekeeper[bot]

@sendaoYan This change now passes all automated pre-integration checks.

After integration, the commit message for the final commit will be:

8335894: [8u] Fix SupplementalJapaneseEraTest.java for jdks with symlinked conf dir

Reviewed-by: serb

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 25 new commits pushed to the master branch:

  • 4106121e0ae42d644e45c6eab9037874110ed670: 8281096: Flags introduced by configure script are not passed to ADLC build
  • b4fc8e711c5953823e687f8cc133aac5e8fdd577: 8337312: [8u] Windows x86 VS2010 build broken by JDK-8320097
  • 09bab6e4c31531975ab6461832d4618dc9759ca9: 8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest failed with Connection failed for no credentials
  • d4adbe339c3dd09a7f431da2c909b03560c6579e: 8152207: Perform array bound checks while getting a length of bytecode instructions
  • 047b08a891d837efb925448b6334679f772ef0e5: 8324723: GHA: Upgrade some actions to avoid deprecated Node 16
  • 0e7148dbfab4b01bdcb615eb2e8d217a47d6874e: Merge
  • 18b3ca58d72881d3b6a89c6f299e26635fd149c4: 8325600: Better symbol storage
  • dfbb2cfbc4887184487206224f0503a7ccd2b3f6: 8324559: Improve 2D image handling
  • bffe2842ea81ed73668e72bc1009f21ac4c2023f: 8323231: Improve array management
  • 172214bbc8e1a8c9f2ff5e87151afb38d9092902: 8323390: Enhance mask blit functionality
  • ... and 15 more: https://git.openjdk.org/jdk8u-dev/compare/c8eb027b59dbb12150a1edd926b14fc2f6753bbd...master

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@mrserb) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

openjdk[bot] avatar Jul 08 '24 15:07 openjdk[bot]

Webrevs

mlbridge[bot] avatar Jul 08 '24 15:07 mlbridge[bot]

The GHA report several failures.

  1. Some failures are CA issues, which is fixing by PR256. It's unrelated to this PR.
security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#digicerttlseccrootg5
security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#digicerttlsrsarootg5
security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#quovadisrootca1g3
  1. Linux x86 gc/concurrentMarkSweep/CheckAllocateAndSystemGC.java report timeout failure, I have create a issue JDK-8336400 to record this failure, I think it's unrelated to this PR.
  2. MacOS build fail, the GHA doesn't show any fail logs, maybe it's enviromental issue, or GHA can't pick up MacOS runner.

sendaoYan avatar Jul 15 '24 15:07 sendaoYan

/approval request Similar to JDK-8309138, fix SupplementalJapaneseEraTest.java for jdk with symlinked conf dir (such as fedora/rhel packages).

sendaoYan avatar Jul 15 '24 15:07 sendaoYan

@sendaoYan 8335894: The approval request has been created successfully.

openjdk[bot] avatar Jul 15 '24 15:07 openjdk[bot]

/approval request Similar to JDK-8309138, fix SupplementalJapaneseEraTest.java for jdk with symlinked conf dir (such as fedora/rhel packages). Only change the testcase, the change has been verified, no risk.

sendaoYan avatar Jul 15 '24 15:07 sendaoYan

@sendaoYan 8335894: The approval request has been updated successfully.

openjdk[bot] avatar Jul 15 '24 15:07 openjdk[bot]

@sendaoYan This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Aug 12 '24 21:08 bridgekeeper[bot]

Can anyone take look this PR

sendaoYan avatar Aug 13 '24 01:08 sendaoYan

Thanks all for the approved and review. /integrate

sendaoYan avatar Aug 16 '24 16:08 sendaoYan

@sendaoYan Your change (at version 41b38a780432c64f29912d52bfbd39b663e8cc42) is now ready to be sponsored by a Committer.

openjdk[bot] avatar Aug 16 '24 16:08 openjdk[bot]

/sponsor

mrserb avatar Aug 16 '24 22:08 mrserb

Going to push as commit fb0a658dd5dc417fa4ce74b17d10c507ed6bc66f. Since your change was applied there have been 26 commits pushed to the master branch:

  • 4538bba37c61982e3122dbf83fa2ea5c70434641: 8335851: [8u] Test JMXStartStopTest.java fails after JDK-8334415
  • 4106121e0ae42d644e45c6eab9037874110ed670: 8281096: Flags introduced by configure script are not passed to ADLC build
  • b4fc8e711c5953823e687f8cc133aac5e8fdd577: 8337312: [8u] Windows x86 VS2010 build broken by JDK-8320097
  • 09bab6e4c31531975ab6461832d4618dc9759ca9: 8145919: sun/management/jmxremote/bootstrap/RmiSslBootstrapTest failed with Connection failed for no credentials
  • d4adbe339c3dd09a7f431da2c909b03560c6579e: 8152207: Perform array bound checks while getting a length of bytecode instructions
  • 047b08a891d837efb925448b6334679f772ef0e5: 8324723: GHA: Upgrade some actions to avoid deprecated Node 16
  • 0e7148dbfab4b01bdcb615eb2e8d217a47d6874e: Merge
  • 18b3ca58d72881d3b6a89c6f299e26635fd149c4: 8325600: Better symbol storage
  • dfbb2cfbc4887184487206224f0503a7ccd2b3f6: 8324559: Improve 2D image handling
  • bffe2842ea81ed73668e72bc1009f21ac4c2023f: 8323231: Improve array management
  • ... and 16 more: https://git.openjdk.org/jdk8u-dev/compare/c8eb027b59dbb12150a1edd926b14fc2f6753bbd...master

Your commit was automatically rebased without conflicts.

openjdk[bot] avatar Aug 16 '24 22:08 openjdk[bot]

@mrserb @sendaoYan Pushed as commit fb0a658dd5dc417fa4ce74b17d10c507ed6bc66f.

:bulb: You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

openjdk[bot] avatar Aug 16 '24 22:08 openjdk[bot]

Thanks for the sponsor.

sendaoYan avatar Aug 17 '24 10:08 sendaoYan