[cdi-dev] [JBoss JIRA] (CDI-527) allow proxying of classes with non-private final methods
Mark Struberg (JIRA)
issues at jboss.org
Tue May 19 13:05:19 EDT 2015
Mark Struberg created CDI-527:
Summary: allow proxying of classes with non-private final methods
Project: CDI Specification Issues
Issue Type: Feature Request
Reporter: Mark Struberg
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).
This message was sent by Atlassian JIRA
More information about the cdi-dev