< prev index next >
test/tools/launcher/modules/dryrun/DryRunTest.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.
*** 22,35 ****
*/
/**
* @test
* @bug 8159596
! * @library /lib/testlibrary
* @modules jdk.compiler
* jdk.jartool
! * @build DryRunTest CompilerUtils jdk.testlibrary.ProcessTools
* @run testng DryRunTest
* @summary Test java --dry-run
*/
import java.io.File;
--- 22,35 ----
*/
/**
* @test
* @bug 8159596
! * @library /lib/testlibrary /test/lib
* @modules jdk.compiler
* jdk.jartool
! * @build DryRunTest jdk.test.lib.compiler.CompilerUtils jdk.testlibrary.ProcessTools
* @run testng DryRunTest
* @summary Test java --dry-run
*/
import java.io.File;
*** 37,53 ****
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.spi.ToolProvider;
import jdk.testlibrary.ProcessTools;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;
import static org.testng.Assert.*;
-
@Test
public class DryRunTest {
private static final String TEST_SRC = System.getProperty("test.src");
--- 37,53 ----
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.spi.ToolProvider;
+ import jdk.test.lib.compiler.CompilerUtils;
import jdk.testlibrary.ProcessTools;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;
import static org.testng.Assert.*;
@Test
public class DryRunTest {
private static final String TEST_SRC = System.getProperty("test.src");
< prev index next >