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

method mismatch errors are not specific to arguments

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.1
    • 1.1
    • tools
    • 1.1
    • sparc
    • generic
    • Not verified

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: