Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1294

Don't inject into static fields/methods

    Details

      Description

      The Java EE6 spec, section EE.5.2.5 says:

      The field or method may have any access qualifier (public, private, etc.). For all classes except application client
      main classes, the fields or methods must not be static.

      Currently we even inject even into static fields/methods.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  emmartins Eduardo Martins
                  Reporter:
                  jaikiran Jaikiran Pai
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: