Commit 69c0b24 Justin Lu
committed Nov 28, 2023
1 parent 66ae6d5 commit 69c0b24 Copy full SHA for 69c0b24
File tree 2 files changed +6
-4
lines changed
ResourceBundle/modules/visibility
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 28
28
* 8150432 8215913 8220227 8228465 8232871 8232860 8236495 8245241
29
29
* 8246721 8248695 8257964 8261919
30
30
* @summary tests for "java.locale.providers" system property
31
+ * @requires vm.flagless
31
32
* @library /test/lib
32
33
* @build LocaleProviders
33
34
* providersrc.spi.src.tznp
@@ -179,8 +180,8 @@ public static void main(String[] args) throws Throwable {
179
180
private static void testRun (String prefList , String methodName ,
180
181
String param1 , String param2 , String param3 ) throws Throwable {
181
182
182
- // Build process (with VM flags)
183
- ProcessBuilder pb = ProcessTools .createTestJavaProcessBuilder (
183
+ // Build process (without VM flags)
184
+ ProcessBuilder pb = ProcessTools .createLimitedTestJavaProcessBuilder (
184
185
"-ea" , "-esa" ,
185
186
"-cp" , Utils .TEST_CLASS_PATH ,
186
187
"-Djava.util.logging.config.class=LocaleProviders$LogConfig" ,
Original file line number Diff line number Diff line change 26
26
* @bug 8137317 8139238 8210408
27
27
* @summary Visibility tests for ResourceBundle.getBundle with and without
28
28
* an unnamed module argument.
29
+ * @requires vm.flagless
29
30
* @library /test/lib
30
31
* ..
31
32
* @build jdk.test.lib.JDKToolLauncher
@@ -330,8 +331,8 @@ public void RunWithPkgRes(List<String> argsList) throws Throwable {
330
331
}
331
332
332
333
private int runCmd (List <String > argsList ) throws Throwable {
333
- // Build process (with VM flags)
334
- ProcessBuilder pb = ProcessTools .createTestJavaProcessBuilder (
334
+ // Build process (without VM flags)
335
+ ProcessBuilder pb = ProcessTools .createLimitedTestJavaProcessBuilder (
335
336
Stream .concat (Stream .of ("-ea" , "-esa" ), argsList .stream ()).toList ());
336
337
// Evaluate process status
337
338
return ProcessTools .executeCommand (pb ).getExitValue ();
You can’t perform that action at this time.
0 commit comments