--- old/test/hotspot/jtreg/runtime/HiddenClasses/HiddenGetModule.java 2020-03-31 19:13:53.000000000 -0700 +++ new/test/hotspot/jtreg/runtime/HiddenClasses/HiddenGetModule.java 2020-03-31 19:13:53.000000000 -0700 @@ -25,8 +25,7 @@ * @test * @summary Test that a hidden class has the same module as its lookup class. * @library /test/lib - * @modules java.compiler - * java.management + * @modules jdk.compiler * @compile pkg/HasNamedModule.java * @run main/othervm HiddenGetModule */