< prev index next >

test/jdk/jigsaw/util/ServiceLoader/ServicesTest.java

Print this page

        

@@ -38,10 +38,12 @@
 import static org.testng.Assert.*;
 
 /**
  * @test
  * @library ../../lib /lib/testlibrary
+ * @modules java.scripting
+            jdk.compiler
  * @build ServicesTest CompilerUtils jdk.testlibrary.*
  * @run testng ServicesTest
  * @summary Tests ServiceLoader to locate service providers on the module path
  *          and class path. Also tests ServiceLoader with a custom Layer.
  */
< prev index next >