Skip to content

Commit 00d2542

Browse files
committed
8326110: [8u] The Marlin tests should be updated after JDK-8241307
Reviewed-by: phh, andrew, lbourges
1 parent 9d330da commit 00d2542

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

jdk/test/sun/java2d/marlin/CrashNaNTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* @test
4040
* @bug 8149338
4141
* @summary Verifies that Marlin supports NaN coordinates and no JVM crash happens !
42-
* @run main CrashNaNTest
42+
* @run main/othervm -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine CrashNaNTest
4343
*/
4444
public class CrashNaNTest {
4545

jdk/test/sun/java2d/marlin/CrashPaintTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
* @bug 8148886
4848
* @summary Verifies that Marlin supports reentrant operations (ThreadLocal)
4949
* like in custom Paint or custom Composite
50-
* @run main CrashPaintTest
50+
* @run main/othervm -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine CrashPaintTest
5151
*/
5252
public class CrashPaintTest {
5353

jdk/test/sun/java2d/marlin/CrashTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
/**
3636
* @test
3737
* @summary Simple crash rendering test using huge GeneralPaths with the Marlin renderer
38-
* @run main/othervm -mx512m CrashTest
38+
* @run main/othervm -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine -mx512m CrashTest
3939
* @ignore tests that take a long time and consumes 5Gb memory
40-
* @run main/othervm -ms4g -mx4g CrashTest -slow
40+
* @run main/othervm -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine -ms4g -mx4g CrashTest -slow
4141
*/
4242
public class CrashTest {
4343

jdk/test/sun/java2d/marlin/TextClipErrorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
* @test @bug 8144718
5454
* @summary Check the Stroker.drawBezApproxForArc() bug (stoke with round
5555
* joins): if cosext2 > 0.5, it generates curves with NaN coordinates
56-
* @run main TextClipErrorTest
56+
* @run main/othervm -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine TextClipErrorTest
5757
*/
5858
public class TextClipErrorTest {
5959

0 commit comments

Comments
 (0)