8210789: langtools/tools/javac/T8152616.java missing @modules
authorvromero
Thu, 04 Oct 2018 10:19:01 -0700
changeset 52019 d63efc278e93
parent 52018 592dff6ac440
child 52020 4c247dde38ed
8210789: langtools/tools/javac/T8152616.java missing @modules Reviewed-by: jjg
test/langtools/tools/javac/T8152616.java
--- a/test/langtools/tools/javac/T8152616.java	Thu Oct 04 09:43:49 2018 -0700
+++ b/test/langtools/tools/javac/T8152616.java	Thu Oct 04 10:19:01 2018 -0700
@@ -25,8 +25,8 @@
  * @test
  * @bug 8152616
  * @summary Unit test for corner case of PrettyPrinting when SourceOutput is false
- * @run compile --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED T8152616.java
- * @run main T8152616
+ * @modules jdk.compiler/com.sun.tools.javac.api
+ *          jdk.compiler/com.sun.tools.javac.tree
  */
 
 import java.io.File;