< prev index next >
test/hotspot/jtreg/runtime/HiddenClasses/HiddenGetModule.java
Print this page
rev 58565 : 8238358: Implementation of JEP 371: Hidden Classes
Reviewed-by: duke
Contributed-by: mandy.chung@oracle.com, lois.foltan@oracle.com, david.holmes@oracle.com, harold.seigel@oracle.com, serguei.spitsyn@oracle.com, alex.buckley@oracle.com, jamsheed.c.m@oracle.com
rev 58568 : [mq]: hidden-class-4
*** 23,34 ****
/*
* @test
* @summary Test that a hidden class has the same module as its lookup class.
* @library /test/lib
! * @modules java.compiler
! * java.management
* @compile pkg/HasNamedModule.java
* @run main/othervm HiddenGetModule
*/
import java.io.ByteArrayOutputStream;
--- 23,33 ----
/*
* @test
* @summary Test that a hidden class has the same module as its lookup class.
* @library /test/lib
! * @modules jdk.compiler
* @compile pkg/HasNamedModule.java
* @run main/othervm HiddenGetModule
*/
import java.io.ByteArrayOutputStream;
< prev index next >