langtools/test/tools/javac/modules/SubpackageTest.java
changeset 40308 274367a99f98
parent 37758 3ecf9b414e05
equal deleted inserted replaced
40306:1a0fcaf3f2ed 40308:274367a99f98
   108                 + "}");
   108                 + "}");
   109         Path modules = base.resolve("modules");
   109         Path modules = base.resolve("modules");
   110         Files.createDirectories(modules);
   110         Files.createDirectories(modules);
   111 
   111 
   112         new JavacTask(tb)
   112         new JavacTask(tb)
   113                 .options("-modulesourcepath", src.toString())
   113                 .options("--module-source-path", src.toString())
   114                 .outdir(modules)
   114                 .outdir(modules)
   115                 .files(findJavaFiles(src))
   115                 .files(findJavaFiles(src))
   116                 .run()
   116                 .run()
   117                 .writeAll();
   117                 .writeAll();
   118     }
   118     }