< prev index next >
test/tools/jlink/basic/BasicTest.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.
*** 23,39 ****
/*
* @test
* @summary Basic test of jlink to create jmods and images
* @author Andrei Eremeev
! * @library /lib/testlibrary
* @modules java.base/jdk.internal.module
* jdk.jlink
* jdk.compiler
* @build jdk.testlibrary.ProcessTools
* jdk.testlibrary.OutputAnalyzer
! * JarUtils CompilerUtils
* @run main BasicTest
*/
import java.io.File;
import java.io.PrintWriter;
--- 23,39 ----
/*
* @test
* @summary Basic test of jlink to create jmods and images
* @author Andrei Eremeev
! * @library /lib/testlibrary /test/lib
* @modules java.base/jdk.internal.module
* jdk.jlink
* jdk.compiler
* @build jdk.testlibrary.ProcessTools
* jdk.testlibrary.OutputAnalyzer
! * JarUtils jdk.test.lib.compiler.CompilerUtils
* @run main BasicTest
*/
import java.io.File;
import java.io.PrintWriter;
*** 43,52 ****
--- 43,53 ----
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.spi.ToolProvider;
+ import jdk.test.lib.compiler.CompilerUtils;
import jdk.testlibrary.OutputAnalyzer;
import jdk.testlibrary.ProcessTools;
public class BasicTest {
static final ToolProvider JMOD_TOOL = ToolProvider.findFirst("jmod")
< prev index next >