From 09bfbf80639f059563fcd4432995b8c380cea298 Mon Sep 17 00:00:00 2001 From: Bill Huang Date: Tue, 31 Jan 2023 22:12:07 +0000 Subject: [PATCH] 8300909: Update com/sun/jndi/dns/Test6991580.java manual test instruction Reviewed-by: alanb --- test/jdk/com/sun/jndi/dns/Test6991580.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/jdk/com/sun/jndi/dns/Test6991580.java b/test/jdk/com/sun/jndi/dns/Test6991580.java index b3b000618d2..11c7a1d0ea7 100644 --- a/test/jdk/com/sun/jndi/dns/Test6991580.java +++ b/test/jdk/com/sun/jndi/dns/Test6991580.java @@ -62,8 +62,9 @@ public class Test6991580 { "Modify the /etc/resolv.conf file if needed. " + "Don't forget to save the original content of the file.", "3. Type \"cd " + System.getProperty("test.classes") + "\".", - "4. Type \"" + System.getProperty("java.home") + - "/bin/java IPv6NameserverPlatformParsingTest\".", + "4. Type \"" + System.getProperty("java.home") + "/bin/java" + + " --add-opens jdk.naming.dns/com.sun.jndi.dns=ALL-UNNAMED" + + " IPv6NameserverPlatformParsingTest\".", "5. If you see", "\"PASS: Found IPv6 address and DnsClient parsed it correctly.\"", ", press PASS else press FAIL.", @@ -317,7 +318,7 @@ class TestDialog extends Dialog implements ActionListener if( posOfSpace <= 0 ) posOfSpace = maxStringLength - 1; - printStr = remainingStr.substring( 0, posOfSpace + 1 ); + printStr = remainingStr.substring( 0, posOfSpace + 1 ) + " \\"; remainingStr = remainingStr.substring( posOfSpace + 1 ); } //else just print