Document 'jdk.net.hosts.file' system property

XMLWordPrintable

    • Type: Bug
    • Resolution: Delivered
    • Priority: P4
    • 18
    • Affects Version/s: None
    • Component/s: core-libs

      Non-standard, JDK-specific system property 'jdk.net.hosts.file' can be utilized to configure InetAddress to use a specific file, rather than the operating system's resolver, to map host names to IP addresses.
      The system property description and the file format need to be documented.
      There are two candidate locations to host the documentation:
      a) net-properties file - https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/net/doc-files/net-properties.html. Located in jdk repository at the following location: "src/java.base/share/classes/java/net/doc-files/net-properties.html"
      b) `InetAddress` class-level javadoc.

            Assignee:
            Aleksej Efimov
            Reporter:
            Aleksej Efimov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: