RFR: 8334333: MissingResourceCauseTestRun.java fails if run by root [v2]

SendaoYan syan at openjdk.org
Tue Jun 18 02:00:41 UTC 2024


On Mon, 17 Jun 2024 18:46:34 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   change the excption meassges to: Unable to create an unreadable properties file
>
> test/jdk/java/util/ResourceBundle/Control/MissingResourceCauseTestRun.java line 60:
> 
>> 58:     public static void main(String[] args) throws Throwable {
>> 59:         if(Platform.isRoot() && !Platform.isWindows()) {
>> 60:             throw new SkippedException("root user has privileged will make this test fail.");
> 
> The exception message can be improved. How about "Unable to create an unreadable properties file"?

Thanks for the suggestion. The exception message has been change.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19732#discussion_r1643627352


More information about the core-libs-dev mailing list