Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-527

allow proxying of classes with non-private final methods

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.0 .Final
    • 1.2.Final
    • Beans

      Currently we explicitly disallow proxying of classes with non-private final methods.

      EJB does allow this. And there are a few final methods in the JDK and other libs. E.g. HashMap#initHashSeedAsNeeded. Currently we cannot have a producer method for it.

      We might rethink our decision and allow it. Probably with an own annotation like @AllowProxying which disables this check for certain cases (subclass managed-beans or producers).

            asabotdu@redhat.com Antoine Sabot-Durand (Inactive)
            struberg Mark Struberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: