promote varargs/non-varargs overrider diagnostics to errors

XMLWordPrintable

    Error rendering 'com.atlassian.jira.jira-view-issue-plugin:details-module'. Please contact your Jira administrators.

      Please promote the current warning when a method overrides another but only
      one of the two is varargs. It is a warning in 1.5; please make it an error
      in 1.6.

      -------------------------

      As exemplified by this program:

      class Super {
          void smeagol(Object... args) {}
          void gollum(Object[] args) {}
      }

      class Sub extends Super {
          void smeagol(Object[] args) {}
          void gollum(Object... args) {}
      }

      ###@###.### 2005-1-29 00:44:36 GMT

            Assignee:
            Jonathan Gibbons
            Reporter:
            Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: