8287902: UnreadableRB case in MissingResourceCauseTest is not working reliably on Windows
Reviewed-by: naoto
This commit is contained in:
parent
0901548833
commit
975316e3e5
@ -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…
x
Reference in New Issue
Block a user