mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-28 11:10:26 +00:00
Merge
This commit is contained in:
commit
0bb64f5e6a
@ -146,9 +146,10 @@ public class GenModuleInfoSource {
|
||||
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;
|
||||
}
|
||||
|
||||
@ -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
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user