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

Proxy.toString() specification is incorrect

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      generic
    • OS:
      generic

      Description



      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.

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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: