Skip to content

Commit 09bfbf8

Browse files
author
Bill Huang
committed
8300909: Update com/sun/jndi/dns/Test6991580.java manual test instruction
Reviewed-by: alanb
1 parent 6beadbb commit 09bfbf8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/jdk/com/sun/jndi/dns/Test6991580.java

+4-3
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ private static void init() throws Exception {
6262
"Modify the /etc/resolv.conf file if needed. "
6363
+ "Don't forget to save the original content of the file.",
6464
"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\".",
6768
"5. If you see",
6869
"\"PASS: Found IPv6 address and DnsClient parsed it correctly.\"",
6970
", press PASS else press FAIL.",
@@ -317,7 +318,7 @@ public void printInstructions( String[] instructions )
317318

318319
if( posOfSpace <= 0 ) posOfSpace = maxStringLength - 1;
319320

320-
printStr = remainingStr.substring( 0, posOfSpace + 1 );
321+
printStr = remainingStr.substring( 0, posOfSpace + 1 ) + " \\";
321322
remainingStr = remainingStr.substring( posOfSpace + 1 );
322323
}
323324
//else just print

0 commit comments

Comments
 (0)