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

Proxy.toString() specification is incorrect

XMLWordPrintable

    • beta
    • generic
    • generic



      Name: akR10050 Date: 10/08/2003



      The javadoc API specification of java.net.Proxy.toString() states the following:
      -------------- spec ----------------------
      Constructs a string representation of this Proxy.This String is constructed by
      calling toString() on its type and concatenating the toString() result from its
      address if any.
      ---------- end spec ----------------------

      In fact, the reference implementation constructs the string represenation by
      concatenating the type string, literal string " @ ", and the address string. The
      specification should be corrected to reflect actual procedure.

      ======================================================================

            jccollet Jean-Christophe Collet (Inactive)
            kaisunw Kai Kai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: