Skip to content

Commit

Permalink
8287902: UnreadableRB case in MissingResourceCauseTest is not working…
Browse files Browse the repository at this point in the history
… reliably on Windows

Backport-of: 975316e3e5f1208e4e15eadc2493d25c15554647
gdams authored and RealCLanger committed Jul 12, 2022
1 parent 011b96c commit 292e6bb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -34,7 +34,9 @@ public static void main(String[] args) {
callGetBundle("PrivateConstructorRB", IllegalAccessException.class);
callGetBundle("AbstractRB", InstantiationException.class);
callGetBundle("BadStaticInitRB", ExceptionInInitializerError.class);
callGetBundle("UnreadableRB", IOException.class);
if (!System.getProperty("os.name").toLowerCase().startsWith("win")) {
callGetBundle("UnreadableRB", IOException.class);
}
callGetBundle("NoNoArgConstructorRB", InstantiationException.class);
}

1 comment on commit 292e6bb

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.