InetSocketAddress should have equals() & hashCode() as final

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: core-libs
    • None
    • beta3
    • generic
    • generic

      Subclasses of SocketAddress are now used in preference to InetAddress when doing
      socket operation. Many security checks are based on comparing addresses. It is therefore important that the comparison between two such objects be guaranteed.
      InetSocketAddress should implement equals() & hashCode() and make them final
      so that the semantic can't be changed in a subclass.

            Assignee:
            Jean-Christophe Collet (Inactive)
            Reporter:
            Jean-Christophe Collet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: