[cdi-dev] [JBoss JIRA] (CDI-444) AnnotatedType should only returns visible methods
Romain Manni-Bucau (JIRA)
issues at jboss.org
Mon Jun 30 07:09:23 EDT 2014
Romain Manni-Bucau created CDI-444:
--------------------------------------
Summary: AnnotatedType should only returns visible methods
Key: CDI-444
URL: https://issues.jboss.org/browse/CDI-444
Project: CDI Specification Issues
Issue Type: Feature Request
Reporter: Romain Manni-Bucau
ATM spec says but actually it doesn't respect java inheritence rules which can induce some methods which are not callable or accessible to be present in AnnotatedType.
(A test in TCKs does it if it is easier with a sample: org.jboss.cdi.tck.tests.extensions.beanManager.beanAttributes.CreateBeanAttributesTest#testBeanAttributesForMethod checks there are 2 methods "getFish" in the annotated type of org.jboss.cdi.tck.tests.extensions.beanManager.beanAttributes.Dam but Dam extends Lake overriding getFish so the Lake#getFish is totally hidden for Dam and shouldn't be tested and visible)
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the cdi-dev
mailing list