changeset 16221:a5eb1d52e445

Merge
author mullan
date Fri, 02 Dec 2016 14:24:10 -0500
parents 8d4eb53e3933 150206269f3f
children ed6586330575
files
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/src/classes/build/tools/module/GenModuleInfoSource.java	Fri Dec 02 14:22:19 2016 -0500
+++ b/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/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java	Fri Dec 02 14:22:19 2016 -0500
+++ b/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
  */