diff -r b6598aa90114 -r d0d6c64a2e2b jdk/test/javax/swing/JTextArea/6940863/bug6940863.java --- a/jdk/test/javax/swing/JTextArea/6940863/bug6940863.java Wed Sep 17 16:14:12 2014 +0400 +++ b/jdk/test/javax/swing/JTextArea/6940863/bug6940863.java Thu Sep 18 17:34:44 2014 +0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2014, 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 @@ -25,10 +25,12 @@ * @bug 6940863 * @summary Textarea within scrollpane shows vertical scrollbar * @author Pavel Porvatov + * @library ../../../../lib/testlibrary + * @build jdk.testlibrary.OSInfo * @run main bug6940863 */ -import sun.awt.OSInfo; +import jdk.testlibrary.OSInfo; import javax.swing.*; import java.awt.*;