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

SendaoYan syan at openjdk.org
Tue Jun 18 06:31:38 UTC 2024


On Tue, 18 Jun 2024 06:18:48 GMT, Andrey Turbanov <aturbanov 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 59:
> 
>> 57: public class MissingResourceCauseTestRun {
>> 58:     public static void main(String[] args) throws Throwable {
>> 59:         if(Platform.isRoot() && !Platform.isWindows()) {
> 
> Suggestion:
> 
>         if (Platform.isRoot() && !Platform.isWindows()) {

Thanks for  the review. A white space before `if` has been added.

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

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


More information about the core-libs-dev mailing list