--- a/jdk/test/tools/launcher/modules/limitmods/LimitModsTest.java Wed Jun 07 10:58:58 2017 +0800
+++ b/jdk/test/tools/launcher/modules/limitmods/LimitModsTest.java Tue Jun 06 19:54:08 2017 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 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
@@ -23,9 +23,9 @@
/**
* @test
- * @library /lib/testlibrary
+ * @library /lib/testlibrary /test/lib
* @modules java.desktop java.logging jdk.compiler
- * @build LimitModsTest CompilerUtils jdk.testlibrary.*
+ * @build LimitModsTest jdk.test.lib.compiler.CompilerUtils jdk.testlibrary.*
* @run testng LimitModsTest
* @summary Basic tests for java --limit-modules
*/
@@ -33,13 +33,13 @@
import java.nio.file.Path;
import java.nio.file.Paths;
+import jdk.test.lib.compiler.CompilerUtils;
import static jdk.testlibrary.ProcessTools.*;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;
import static org.testng.Assert.*;
-
@Test
public class LimitModsTest {