Merge
authormullan
Fri, 02 Dec 2016 14:24:10 -0500
changeset 42358 f37f5491984b
parent 42357 bd44ffcd570f (current diff)
parent 42356 f350f3fd9dc4 (diff)
child 42359 e9e4835c9027
Merge
--- a/jdk/make/src/classes/build/tools/module/GenModuleInfoSource.java	Fri Dec 02 14:22:19 2016 -0500
+++ b/jdk/make/src/classes/build/tools/module/GenModuleInfoSource.java	Fri Dec 02 14:24:10 2016 -0500
@@ -146,9 +146,10 @@
             for (String l : lines) {
                 writer.println(l);
                 if (l.trim().startsWith("module ")) {
-                    writer.format("    // source file: %s%n", sourceFile);
+                    // print URI rather than file path to avoid escape
+                    writer.format("    // source file: %s%n", sourceFile.toUri());
                     for (Path file: extraFiles) {
-                        writer.format("    //              %s%n", file);
+                        writer.format("    //              %s%n", file.toUri());
                     }
                     break;
                 }
--- a/jdk/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java	Fri Dec 02 14:22:19 2016 -0500
+++ b/jdk/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java	Fri Dec 02 14:24:10 2016 -0500
@@ -28,6 +28,7 @@
  * @modules jdk.naming.rmi/com.sun.jndi.rmi.registry java.rmi/sun.rmi.registry
  *     java.rmi/sun.rmi.server java.rmi/sun.rmi.transport java.rmi/sun.rmi.transport.tcp
  * @library ../../../../../../java/rmi/testlibrary
+ * @build TestLibrary
  * @compile --add-modules jdk.naming.rmi ContextWithNullProperties.java
  * @run main ContextWithNullProperties
  */