[
https://issues.jboss.org/browse/CDI-527?page=com.atlassian.jira.plugin.sy...
]
Antoine Sabot-Durand edited comment on CDI-527 at 9/7/16 6:35 AM:
------------------------------------------------------------------
In F2F meeting we decided to add "ignoreFinalMethod" method to
{{ProcessBeanAttribute}}.
Adding support for @WithAnnotations on the ProcessBeanAttributes (CDI-270) will also help
to create team specific annotation allow this.
was (Author: antoinesabot-durand):
In F2F meeting we decided to add "ignoreFinalMethod" method.
Adding support for @WithAnnotations on the ProcessBeanAttributes (CDI-270) will also help
to create team specific annotation allow this.
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: 1.2.Final
Reporter: Mark Struberg
Assignee: Mark Struberg
Labels: F2F2016
Fix For: 2.0 (proposed)
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.4.11#64026)