We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da87df7 commit 89244d5Copy full SHA for 89244d5
test/jdk/java/net/InetAddress/ptr/Lookup.java
@@ -114,6 +114,9 @@ public static void main(String args[]) throws IOException {
114
// Now check that a reverse lookup will succeed with the dual stack.
115
InetAddress ia = InetAddress.getByName(addr);
116
String name = ia.getHostName();
117
+ // output details of dual stack lookup by address
118
+ System.out.println("dual stack lookup for addr " + addr + " returned IP address " + ia);
119
+ System.out.println(" with hostname " + name);
120
121
System.out.println("(default) " + addr + "--> " + name
122
+ " (reversed IPv4: " + ipv4Reversed + ")");
0 commit comments