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

JDI: specs for stringValueOf() methods need clarification

XMLWordPrintable

    • beta
    • generic
    • generic
    • Verified



      Name: elR10090 Date: 11/24/2000



      Specification for the following two methods looks unclear:

          com.sun.jdi.connect.Connector.BooleanArgument.stringValueOf()
          com.sun.jdi.connect.Connector.IntegerArgument.stringValueOf()
              
      Namely, it is hard to understand the following sentence stated for
      both these methods:

          "Does not set or examine the value or the argument."

      For example: given a BooleanArgument instance x and a boolean
      value y, consider invocation like the following:

          x.stringValueOf(y)

      Which of x,y is "the value" and which is "the argument" here?

      Probably, the correct statement for stringValueOf() must be the
      following:

          "Does not set or examine the current value of `this' instance."


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

            jhosunw Jamie Ho (Inactive)
            latkinsunw Latkin Latkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: