Javac incorrectly allows receiver parameters in annotation methods

XMLWordPrintable

    • b161
    • Verified

        Receiver parameters are not allowed in annotation methods. Javac should produce an error

        @interface MethodRun {
            int value(MethodRun this);
        }

          There are no Sub-Tasks for this issue.

              Assignee:
              Vicente Arturo Romero Zaldivar
              Reporter:
              Victor Rudometov
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: