Mercurial > hg > openjdk > jdk8u > jdk
changeset 13452:111b0d11b261
8080932: [TEST_BUG] Test java/awt/BasicStroke/DashStrokeTest.java fails with Bad script error due to improper @run notation
Summary: Add "main" and "main/othervm" @run arguments
Reviewed-by: azvegint, alexsch
author | phh |
---|---|
date | Mon, 25 Feb 2019 22:13:39 +0000 |
parents | aa5e4bedfa82 |
children | 5188a1b80628 |
files | test/java/awt/BasicStroke/DashStrokeTest.java |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/test/java/awt/BasicStroke/DashStrokeTest.java Fri Feb 22 18:18:16 2019 +0000 +++ b/test/java/awt/BasicStroke/DashStrokeTest.java Mon Feb 25 22:13:39 2019 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -21,10 +21,10 @@ * questions. * * @test - * @bug 8075942 + * @bug 8075942 8080932 * @summary test there is no exception rendering a dashed stroke - * @run DashStrokeTest - * @run -Dsun.java2d.renderer=sun.java2d.pisces.PiscesRenderingEngine + * @run main DashStrokeTest + * @run main/othervm -Dsun.java2d.renderer=sun.java2d.pisces.PiscesRenderingEngine DashStrokeTest */ import java.awt.BasicStroke;