[jdk11u-dev] RFR: 8334332: TestIOException.java fails if run by root

SendaoYan syan at openjdk.org
Mon Jul 22 15:30:39 UTC 2024


On Tue, 18 Jun 2024 15:31:24 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> 
> This pull request contains a backport of commit [472b935b](https://github.com/openjdk/jdk/commit/472b935b442f7f925b665c7de91eda77f3dcbe8b) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.
> 
> The commit being backported was authored by SendaoYan on 18 Jun 2024 and was reviewed by Pavel Rappo.
> 
> The reason of backport is not clean is that, multiple PRs have been merged into the `jdk17u-dev` of this file, including `JDK-8215516`, `JDK-8164597`, etc., and these PRs cannot be directly backported to `jdk11u-dev`.
> 
> This PR also change `test/langtools/TEST.ROOT`, it's partial backport of [JDK-8242652](https://bugs.openjdk.org/browse/JDK-8242652). [JDK-8242652](https://bugs.openjdk.org/browse/JDK-8242652) can't backport to jdk11u-dev, the jdk11u-dev repo dosen't have file `test/langtools/jdk/javadoc/doclet/testSearchScript/TestSearchScript.java`.
> 
> Only change test testcase, the risk is quite very low.
> 
> The change verified on below env:
> 
> - [x] linux non-root user
> - [x] linix root user
> - [x] windows
> 
> Thanks!

Hi, can anyone take a look this backport.

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

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2795#issuecomment-2243239566


More information about the jdk-updates-dev mailing list