[cdi-dev] [JBoss JIRA] (CDI-527) allow proxying of classes with non-private final methods
Jens Schumann (JIRA)
issues at jboss.org
Tue May 19 13:29:19 EDT 2015
[ https://issues.jboss.org/browse/CDI-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069360#comment-13069360 ]
Jens Schumann commented on CDI-527:
-----------------------------------
+1.
This would simplify CDI integration in a lot of cases. Do we have the same issue with / should talk about interceptors too?
> allow proxying of classes with non-private final methods
> --------------------------------------------------------
>
> Key: CDI-527
> URL: https://issues.jboss.org/browse/CDI-527
> Project: CDI Specification Issues
> Issue Type: Feature Request
> Components: Beans
> Affects Versions: 2.0 (discussion)
> 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
(v6.3.15#6346)
More information about the cdi-dev
mailing list