8211975: move testlibrary/jdk/testlibrary/OptimalCapacity.java to top-level library

Reviewed-by: igerasim
This commit is contained in:
Hamlin Li 2018-11-28 15:34:43 +08:00
parent 17773c31b6
commit bb50695ff9
4 changed files with 10 additions and 10 deletions

View File

@ -25,14 +25,14 @@
* @test * @test
* @bug 8080535 8191410 * @bug 8080535 8191410
* @summary Expected size of Character.UnicodeBlock.map is not optimal * @summary Expected size of Character.UnicodeBlock.map is not optimal
* @library /lib/testlibrary * @library /test/lib
* @modules java.base/java.lang:open * @modules java.base/java.lang:open
* java.base/java.util:open * java.base/java.util:open
* @build jdk.testlibrary.OptimalCapacity * @build jdk.test.lib.util.OptimalCapacity
* @run main OptimalMapSize * @run main OptimalMapSize
*/ */
import jdk.testlibrary.OptimalCapacity; import jdk.test.lib.util.OptimalCapacity;
// What will be the number of the Unicode blocks in the future. // What will be the number of the Unicode blocks in the future.
// //

View File

@ -25,14 +25,14 @@
* @test * @test
* @bug 8200696 * @bug 8200696
* @summary Initial capacity of Class.enumConstantDirectory is not optimal * @summary Initial capacity of Class.enumConstantDirectory is not optimal
* @library /lib/testlibrary * @library /test/lib
* @modules java.base/java.lang:open * @modules java.base/java.lang:open
* java.base/java.util:open * java.base/java.util:open
* @build jdk.testlibrary.OptimalCapacity * @build jdk.test.lib.util.OptimalCapacity
* @run main ConstantDirectoryOptimalCapacity * @run main ConstantDirectoryOptimalCapacity
*/ */
import jdk.testlibrary.OptimalCapacity; import jdk.test.lib.util.OptimalCapacity;
public class ConstantDirectoryOptimalCapacity { public class ConstantDirectoryOptimalCapacity {

View File

@ -25,15 +25,15 @@
* @test * @test
* @bug 8200788 * @bug 8200788
* @summary Optimal initial capacity of AccessMode.methodNameToAccessMode * @summary Optimal initial capacity of AccessMode.methodNameToAccessMode
* @library /lib/testlibrary * @library /test/lib
* @modules java.base/java.lang.invoke:open * @modules java.base/java.lang.invoke:open
* java.base/java.util:open * java.base/java.util:open
* @build jdk.testlibrary.OptimalCapacity * @build jdk.test.lib.util.OptimalCapacity
* @run main OptimalMapSize * @run main OptimalMapSize
*/ */
import java.lang.invoke.VarHandle.AccessMode; import java.lang.invoke.VarHandle.AccessMode;
import jdk.testlibrary.OptimalCapacity; import jdk.test.lib.util.OptimalCapacity;
public class OptimalMapSize { public class OptimalMapSize {
public static void main(String[] args) throws Throwable { public static void main(String[] args) throws Throwable {

View File

@ -21,7 +21,7 @@
* questions. * questions.
*/ */
package jdk.testlibrary; package jdk.test.lib.util;
import java.lang.reflect.Field; import java.lang.reflect.Field;
import java.util.ArrayList; import java.util.ArrayList;