Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-1133

Event handlers marked as private are not flagged as errors during annotation processing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.1
    • 1.0.2
    • Controls
    • None

    Description

      Methods with the @EventHandler annotation that are marked as private are not flagged as errors. Once the client initializer is generated, it has a javac error because it's got a compile-time dependency on that method, but of course can't access it because it's private.

      It seems like it would be useful to flag this with an annotation processor error to catch the error sooner, and closer to the actual source of the problem.

      Attachments

        Activity

          People

            grunlowen matt c
            cshogue Chris Hogue
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: