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: 975316e
  • Loading branch information
RealCLanger committed Jul 11, 2022
1 parent 62fbc3f commit 39715f3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 39715f3

Please sign in to comment.