changeset 4839:f664546b5782

tools/javac/modules/AutomaticModules.java failing
author alanb
date Sat, 25 Mar 2017 09:03:03 +0000
parents 2a2c38364740
children c5a3d5ae3554
files test/tools/javac/modules/AutomaticModules.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/tools/javac/modules/AutomaticModules.java	Fri Mar 24 16:56:40 2017 +0000
+++ b/test/tools/javac/modules/AutomaticModules.java	Sat Mar 25 09:03:03 2017 +0000
@@ -310,7 +310,7 @@
     }
 
     @Test
-    public void testDropTrailingVersion(Path base) throws Exception {
+    public void testWithTrailingVersion(Path base) throws Exception {
         Path legacySrc = base.resolve("legacy-src");
         tb.writeJavaFiles(legacySrc,
                           "package api; public class Api {}");
@@ -348,7 +348,7 @@
         Files.createDirectories(classes);
 
         tb.writeJavaFiles(m,
-                          "module m { requires test; }",
+                          "module m { requires test1; }",
                           "package impl; public class Impl { public void e(api.Api api) { } }");
 
         new JavacTask(tb)