[jdk10] (XXS) RFR 8189631 : Missing space in the javadoc for InetAddress.createNameService()

Ivan Gerasimov ivan.gerasimov at oracle.com
Tue Nov 14 19:45:07 UTC 2017


Hello!

A typo in the javadoc:

--- a/src/java.base/share/classes/java/net/InetAddress.java
+++ b/src/java.base/share/classes/java/net/InetAddress.java
@@ -1133,7 +1133,7 @@
      /**
       * Create an instance of the NameService interface based on
- * the setting of the {@codejdk.net.hosts.file} system property.
+ * the setting of the {@code jdk.net.hosts.file} system property.
       *
       * <p>The default NameService is the PlatformNameService, which 
typically
       * delegates name and address resolution calls to the underlying


Would you approve the fix?

-- 
With kind regards,
Ivan Gerasimov



More information about the net-dev mailing list