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

allow proxying of classes with non-private final methods

    XMLWordPrintable

Details

    • Feature Request
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • 1.2.Final
    • 2.0 .Final
    • Beans

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: