From 9b8a0bcba50a9ab713caf126aa2c27729bb1b3f7 Mon Sep 17 00:00:00 2001 From: sendaoYan Date: Tue, 18 Jun 2024 09:56:20 +0800 Subject: [PATCH] change the excption meassges to: Unable to create an unreadable properties file --- .../ResourceBundle/Control/MissingResourceCauseTestRun.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);