Skip to content

Commit d9c6744

Browse files
committedSep 19, 2024
8340360: Update -mx to -Xmx in UnninstallUIMemoryLeaks test
Reviewed-by: serb, prr
1 parent 88a1c05 commit d9c6744

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎test/jdk/javax/swing/UI/UnninstallUIMemoryLeaks/UnninstallUIMemoryLeaks.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -225,7 +225,7 @@ private static void test(Object[] listeners) {
225225

226226
private static Process runProcess(LookAndFeelInfo laf) throws Exception {
227227
ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder(
228-
"-Dswing.defaultlaf=" + laf.getClassName(), "-mx9m",
228+
"-Dswing.defaultlaf=" + laf.getClassName(), "-Xmx9m",
229229
"-XX:+HeapDumpOnOutOfMemoryError",
230230
UnninstallUIMemoryLeaks.class.getSimpleName(), "mark");
231231
return ProcessTools.startProcess(laf.getName(), pb);

0 commit comments

Comments
 (0)
Please sign in to comment.