8287902: UnreadableRB case in MissingResourceCauseTest is not working reliably on Windows
Backport-of: 975316e3e5
This commit is contained in:
parent
62fbc3f883
commit
39715f3da7
@ -34,7 +34,9 @@ public class MissingResourceCauseTest {
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user