< prev index next >

test/java/net/spi/URLStreamHandlerProvider/Basic.java

Print this page

        

*** 19,33 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! import java.io.*; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; ! import java.util.*; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.function.Consumer; import java.util.stream.Collectors; --- 19,41 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! import java.io.File; ! import java.io.FileWriter; ! import java.io.Reader; ! import java.io.IOException; ! import java.io.InputStream; ! import java.io.InputStreamReader; ! import java.io.SequenceInputStream; ! import java.io.StringWriter; ! import java.io.Writer; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; ! import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.function.Consumer; import java.util.stream.Collectors;
*** 43,53 **** import static java.util.Arrays.asList; /* * @test * @bug 8064924 ! * @modules java.compiler * @summary Basic test for URLStreamHandlerProvider * @library /lib/testlibrary * @build jdk.testlibrary.FileUtils jdk.testlibrary.JDKToolFinder * @compile Basic.java Child.java * @run main Basic --- 51,61 ---- import static java.util.Arrays.asList; /* * @test * @bug 8064924 ! * @modules jdk.compiler * @summary Basic test for URLStreamHandlerProvider * @library /lib/testlibrary * @build jdk.testlibrary.FileUtils jdk.testlibrary.JDKToolFinder * @compile Basic.java Child.java * @run main Basic
< prev index next >