RFR: 8334332: TestIOException.java fails if run by root [v4]

Pavel Rappo prappo at openjdk.org
Tue Jun 18 10:16:11 UTC 2024


On Tue, 18 Jun 2024 07:43:23 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
>
> SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   add bug id 8334332 to jtreg tag @bug

Marked as reviewed by prappo (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/19731#pullrequestreview-2125100221


More information about the javadoc-dev mailing list