File tree 1 file changed +4
-3
lines changed
test/jdk/com/sun/jndi/dns
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,9 @@ private static void init() throws Exception {
62
62
"Modify the /etc/resolv.conf file if needed. "
63
63
+ "Don't forget to save the original content of the file." ,
64
64
"3. Type \" cd " + System .getProperty ("test.classes" ) + "\" ." ,
65
- "4. Type \" " + System .getProperty ("java.home" ) +
66
- "/bin/java IPv6NameserverPlatformParsingTest\" ." ,
65
+ "4. Type \" " + System .getProperty ("java.home" ) + "/bin/java"
66
+ + " --add-opens jdk.naming.dns/com.sun.jndi.dns=ALL-UNNAMED"
67
+ + " IPv6NameserverPlatformParsingTest\" ." ,
67
68
"5. If you see" ,
68
69
"\" PASS: Found IPv6 address and DnsClient parsed it correctly.\" " ,
69
70
", press PASS else press FAIL." ,
@@ -317,7 +318,7 @@ public void printInstructions( String[] instructions )
317
318
318
319
if ( posOfSpace <= 0 ) posOfSpace = maxStringLength - 1 ;
319
320
320
- printStr = remainingStr .substring ( 0 , posOfSpace + 1 );
321
+ printStr = remainingStr .substring ( 0 , posOfSpace + 1 ) + " \\ " ;
321
322
remainingStr = remainingStr .substring ( posOfSpace + 1 );
322
323
}
323
324
//else just print
You can’t perform that action at this time.
0 commit comments