8234183: [TESTBUG] tools/javac/api/TestModuleUnnamedPackage.java fails to compile
authorjjg
Thu, 14 Nov 2019 12:42:44 -0800
changeset 59096 e6baa47fbacf
parent 59095 03fbcd06b4c0
child 59097 148921c01038
8234183: [TESTBUG] tools/javac/api/TestModuleUnnamedPackage.java fails to compile Reviewed-by: jjg Contributed-by: fujie@loongson.cn
test/langtools/tools/javac/api/TestModuleUnnamedPackage.java
--- a/test/langtools/tools/javac/api/TestModuleUnnamedPackage.java	Thu Nov 14 12:21:00 2019 -0800
+++ b/test/langtools/tools/javac/api/TestModuleUnnamedPackage.java	Thu Nov 14 12:42:44 2019 -0800
@@ -25,7 +25,8 @@
  * @test
  * @bug     8234025
  * @summary Elements.getPackageElement(ModuleElement,CharSequence) returns null for unnamed package
- * @modules jdk.compiler
+ * @modules jdk.compiler/com.sun.tools.javac.api
+ *          jdk.compiler/com.sun.tools.javac.main
  * @library /tools/lib /tools/javac/lib
  * @build toolbox.ModuleBuilder toolbox.ToolBox
  * @run main TestModuleUnnamedPackage