< prev index next >
test/compiler/codecache/cli/printcodecache/TestPrintCodeCacheOption.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 18,46 ****
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
- package printcodecache;
- import common.CodeCacheCLITestBase;
- import common.CodeCacheCLITestCase;
- import sun.hotspot.code.BlobType;
- import java.util.EnumSet;
/**
* @test
* @bug 8015774
* @summary Verify that PrintCodeCache option print correct information.
! * @library /testlibrary .. /test/lib
* @modules java.base/jdk.internal.misc
* java.compiler
* java.management
* jdk.jvmstat/sun.jvmstat.monitor
! * @build TestPrintCodeCacheOption jdk.test.lib.*
! * printcodecache.* common.*
! * @run main/timeout=240 printcodecache.TestPrintCodeCacheOption
*/
public class TestPrintCodeCacheOption extends CodeCacheCLITestBase {
private static final CodeCacheCLITestCase DISABLED_PRINT_CODE_CACHE
= new CodeCacheCLITestCase(new CodeCacheCLITestCase.Description(
options -> true, EnumSet.noneOf(BlobType.class)),
new PrintCodeCacheRunner(false));
--- 18,50 ----
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/**
* @test
* @bug 8015774
* @summary Verify that PrintCodeCache option print correct information.
! * @library /testlibrary /test/lib /
* @modules java.base/jdk.internal.misc
* java.compiler
* java.management
* jdk.jvmstat/sun.jvmstat.monitor
! *
! * @build jdk.test.lib.* compiler.codecache.cli.common.*
! * @run main/timeout=240 compiler.codecache.cli.printcodecache.TestPrintCodeCacheOption
*/
+
+ package compiler.codecache.cli.printcodecache;
+
+ import compiler.codecache.cli.common.CodeCacheCLITestBase;
+ import compiler.codecache.cli.common.CodeCacheCLITestCase;
+ import sun.hotspot.code.BlobType;
+
+ import java.util.EnumSet;
+
public class TestPrintCodeCacheOption extends CodeCacheCLITestBase {
private static final CodeCacheCLITestCase DISABLED_PRINT_CODE_CACHE
= new CodeCacheCLITestCase(new CodeCacheCLITestCase.Description(
options -> true, EnumSet.noneOf(BlobType.class)),
new PrintCodeCacheRunner(false));
< prev index next >