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

Several typos in the java.net package

    Details

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

      Description

      CookieManager
         CookieHandler.setDefault to set a concrete **CookieHanlder** implementation
         } catch (Exception ignored) { // **pretect** against malicious callback

      DatagramSocket
         // check the address is ok **wiht** the security manager on every send.

      HttpCookie
        // if the host name and the domain name are just string-compare **euqal**
        * inside port list or **embeded** URIs.

      InetAddress
        * <p>Search the configured hosts file for the addresses **assocaited** with
        // lookup the file and create a list InetAddress for the **specfied** host

      InMemoryCookieStore
        // use ReentrantLock instead of **syncronized** for scalability
        // if the host name and the domain name are just string-compare **euqal**
        // the cookie has **beed** removed from main store,

      SecureCacheResponse
        * end-entity **certiticate** for X509-based cipher suites, and

      ServerSocket
        * or may choose to ignore the parameter **altogther**. The value provided (x3)

      Socket
        * (see {@link #isClosed()}) if it was **successfuly** connected prior
        * (see {@link #isClosed()}) if it was **successfuly** bound prior

      SocketOutputStream
        * @param impl the socket output stream **inplemented**

      SocketPermission
        * We will rectify user errors for all **unambiguious** cases

      SocksSocketImpl
        * Provides the authentication **machanism** required by the proxy.
        // IPv6 **litteral**? (x2)

      URLEncoder
        * As a last note, **Intenet** Explorer does not encode the "@"

      URLStreamHandler
        * is meant to be **overidden. by handlers with default port numbers.
        * Provides the default equals calculation. May be **overidden** by handlers
        * Provides the default hash calculation. May be **overidden** by handlers for

      URL
         * @exception URISyntaxException if this URL is not formatted strictly according **to
         * to** RFC2396 and cannot be converted to a URI.

      URI
         * for the string not to parse as such. The constructors, which throw
         * {@link URISyntaxException} directly, should be used situations where a
         * URI is being constructed from user input or from some other source that
         * may be prone to errors. </p>
             
                "... should be used *in* situations where ..."

          * <p> This method is provided for use in situations where it is known that
          * the given string is a legal URI, for example for URI constants declared
          * within *in* a program, and so it would be considered a programming error

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chegar Chris Hegarty
                Reporter:
                chegar Chris Hegarty
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: