Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-24657

CDI 1.1 and above should ignore static and private final methods when checking for unproxyable beans

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.5.0.Final
    • 4.4.4.Final, 4.5.0.AM1
    • cdi
    • None

      CDI 1.0 prohibits "classes which are declared final or have final methods" being normal scoped beans.
      CDI 1.1 relaxes it to "classes which have non-static, final methods with public, protected or default visibility"

      JBoss Tools adds a warning for all finals methods, regardless of the project's CDI version.

            jmaury@redhat.com Jeff MAURY
            darsstar Dos Moonen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: