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

method mismatch errors are not specific to arguments

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.1
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.1
    • CPU:
      sparc
    • OS:
      generic
    • Verification:
      Not verified

      Description

      When I give a wrong argument to an existing method, the error message
      simply tells me that something is wrong in the method call, without giving
      any more information. This is substandard practice. Our C and C++ compilers
      report type information about the offending arguments, and (if the method is not
      overloaded) specifically tell which argument is at fault. Anything less than this
      requires the programmer to typecheck the method call by hand.

        Attachments

          Activity

            People

            Assignee:
            busersunw Btplusnull User (Inactive)
            Reporter:
            jrose John Rose
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: