8226869: Test java/util/Locale/LocaleProvidersRun.java should enable assertions
Reviewed-by: naoto
--- a/test/jdk/java/util/Locale/LocaleProvidersRun.java Fri Jun 28 19:36:32 2019 +0000
+++ b/test/jdk/java/util/Locale/LocaleProvidersRun.java Fri Jun 28 20:46:25 2019 +0100
@@ -159,7 +159,9 @@
private static void testRun(String prefList, String methodName,
String param1, String param2, String param3) throws Throwable{
JDKToolLauncher launcher = JDKToolLauncher.createUsingTestJDK("java");
- launcher.addToolArg("-cp")
+ launcher.addToolArg("-ea")
+ .addToolArg("-esa")
+ .addToolArg("-cp")
.addToolArg(Utils.TEST_CLASS_PATH)
.addToolArg("-Djava.locale.providers=" + prefList)
.addToolArg("--add-exports=java.base/sun.util.locale.provider=ALL-UNNAMED")