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

misleading varargs error message

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 5.0
    • tools
    • 5.0
    • b35
    • generic
    • generic
    • Verified

      If you declare both
      void m(Object[] a)
      and
      void m(Object... a)

      you get the confusing error message:
      m(java.lang.Object[]) is already defined in ...


      ###@###.### 2005-2-01 19:34:52 GMT

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: