diff --git a/test/jdk/java/util/ResourceBundle/Control/MissingResourceCauseTestRun.java b/test/jdk/java/util/ResourceBundle/Control/MissingResourceCauseTestRun.java index 3c39fbbece4b4..9919d5b35f897 100644 --- a/test/jdk/java/util/ResourceBundle/Control/MissingResourceCauseTestRun.java +++ b/test/jdk/java/util/ResourceBundle/Control/MissingResourceCauseTestRun.java @@ -57,7 +57,7 @@ public class MissingResourceCauseTestRun { public static void main(String[] args) throws Throwable { if(Platform.isRoot() && !Platform.isWindows()) { - throw new SkippedException("root user has privileged will make this test fail."); + throw new SkippedException("Unable to create an unreadable properties file."); } Path path = Paths.get("UnreadableRB.properties"); Files.deleteIfExists(path);