From 55c5ae30110b2b16bf2e0381d8d2ed15b3ddab9d Mon Sep 17 00:00:00 2001 From: Sergey Malenkov Date: Thu, 30 Sep 2010 20:21:55 +0400 Subject: [PATCH] 6982753: javax/swing/JTextArea/6940863/bug6940863.java should be modified Reviewed-by: alexp --- jdk/test/javax/swing/JTextArea/6940863/bug6940863.java | 1 + 1 file changed, 1 insertion(+) diff --git a/jdk/test/javax/swing/JTextArea/6940863/bug6940863.java b/jdk/test/javax/swing/JTextArea/6940863/bug6940863.java index ffcd2d44aa5..b868d41adfc 100644 --- a/jdk/test/javax/swing/JTextArea/6940863/bug6940863.java +++ b/jdk/test/javax/swing/JTextArea/6940863/bug6940863.java @@ -56,6 +56,7 @@ public class bug6940863 { public static void main(String[] args) throws Exception { if (OSInfo.getOSType() != OSInfo.OSType.WINDOWS) { System.out.println("The test is suitable only for Windows OS. Skipped"); + return; } UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");