Integrated: 8334332: TestIOException.java fails if run by root

SendaoYan syan at openjdk.org
Tue Jun 18 10:27:19 UTC 2024


On Sat, 15 Jun 2024 09:07:04 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
>   Test `test/langtools/jdk/javadoc/doclet/testIOException/TestIOException.java` run fails with root user privileged. I think it's necessary to skip this testcase when user is root.
>   Why run the jtreg test by root user? It's because during rpmbuild process for linux distribution of JDK, root user is the default user to build the openjdk, also is the default user to run the `make test-tier1`, this PR make this testcase more robustness.
>   The change has been verified, only change the testcase, no risk.
> 
> The change verified on:
> 
> - [x] linux
> - [x] windows

This pull request has now been integrated.

Changeset: 472b935b
Author:    SendaoYan <syan at openjdk.org>
Committer: Pavel Rappo <prappo at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/472b935b442f7f925b665c7de91eda77f3dcbe8b
Stats:     43 lines in 1 file changed: 2 ins; 24 del; 17 mod

8334332: TestIOException.java fails if run by root

Reviewed-by: prappo

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

PR: https://git.openjdk.org/jdk/pull/19731


More information about the javadoc-dev mailing list