< prev index next >
test/java/lang/reflect/Proxy/ProxyLayerTest.java
Print this page
rev 17315 : 8181335: remove packageless CompilerUtils
Reviewed-by: duke
*** 1,7 ****
/*
! * Copyright (c) 2015, 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) 2015, 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.
*** 27,47 ****
import java.lang.reflect.Proxy;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Arrays;
import static jdk.testlibrary.ProcessTools.executeTestJava;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;
import static org.testng.Assert.*;
/**
* @test
! * @library /lib/testlibrary
* @modules jdk.compiler
! * @build ProxyTest CompilerUtils jdk.testlibrary.ProcessTools
* @run testng ProxyLayerTest
* @summary Test proxies to implement interfaces in a layer
*/
public class ProxyLayerTest {
--- 27,48 ----
import java.lang.reflect.Proxy;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Arrays;
+ import jdk.test.lib.compiler.CompilerUtils;
import static jdk.testlibrary.ProcessTools.executeTestJava;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;
import static org.testng.Assert.*;
/**
* @test
! * @library /lib/testlibrary /test/lib
* @modules jdk.compiler
! * @build ProxyTest jdk.test.lib.compiler.CompilerUtils jdk.testlibrary.ProcessTools
* @run testng ProxyLayerTest
* @summary Test proxies to implement interfaces in a layer
*/
public class ProxyLayerTest {
< prev index next >