--- 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
*/