< prev index next >

test/java/net/URLClassLoader/definePackage/SplitPackage.java

Print this page
rev 17315 : 8181335: remove packageless CompilerUtils
Reviewed-by: duke

*** 1,7 **** /* ! * Copyright (c) 2016, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2016, 2017, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 23,34 **** /* * @test * @bug 8153665 * @summary Test two URLClassLoader define Package object of the same name ! * @library /lib/testlibrary ! * @build CompilerUtils * @modules jdk.compiler * @run testng SplitPackage */ import java.net.URL; --- 23,34 ---- /* * @test * @bug 8153665 * @summary Test two URLClassLoader define Package object of the same name ! * @library /test/lib ! * @build jdk.test.lib.compiler.CompilerUtils * @modules jdk.compiler * @run testng SplitPackage */ import java.net.URL;
*** 36,45 **** --- 36,46 ---- import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.StandardCopyOption; import java.util.jar.Manifest; + import jdk.test.lib.compiler.CompilerUtils; import org.testng.annotations.BeforeTest; import org.testng.annotations.Test; import static org.testng.Assert.*;
< prev index next >