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

SendaoYan syan at openjdk.org
Tue Jun 18 11:03:19 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

Thanks for the sponsor.

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

PR Comment: https://git.openjdk.org/jdk/pull/19731#issuecomment-2175822381


More information about the javadoc-dev mailing list