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

fixed-arity warning given too often

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b51
    • CPU:
      generic
    • OS:
      generic, solaris_8

      Description

      The fixed-arity warning should not be given in the following circumstances:

      (1) -source less than 1.5
      (2) The argument type is not convertible to the varargs element type
          (that is, the call is not ambiguous)
      (3) The inexactness is only because of raw versus generic types

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gafter Neal Gafter
              Reporter:
              gafter Neal Gafter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: