Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8273289

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: