test/java/awt/Desktop/8064934/bug8064934.java

Print this page

        

*** 23,36 **** /* @test * @bug 8064934 * @summary Incorrect Exception message from java.awt.Desktop.open() * @author Dmitry Markov * @run main bug8064934 */ ! import sun.awt.OSInfo; ! import java.awt.*; import java.io.File; import java.io.IOException; import java.security.AccessController; --- 23,37 ---- /* @test * @bug 8064934 * @summary Incorrect Exception message from java.awt.Desktop.open() * @author Dmitry Markov + * @library ../../../../lib/testlibrary + * @build jdk.testlibrary.OSInfo * @run main bug8064934 */ ! import jdk.testlibrary.OSInfo; import java.awt.*; import java.io.File; import java.io.IOException; import java.security.AccessController;