[
https://issues.jboss.org/browse/JBAS-3816?page=com.atlassian.jira.plugin....
]
Anders Welen updated JBAS-3816:
-------------------------------
Description:
The method "patternMatches" in "org.jboss.metadata.MethodAttributes"
just stops at the first wildcard ("*") found and assumes that match is ok.
Either this is a bug or the documentation
("http://docs.jboss.com/jbossas/guides/j2eeguide/r2/en/html_single/#d0e11084")
should be changed and clearly inform that the wildcard must be the last character.
If you specify for example "*get" than all methods will be matched....
was:
The method "patternMatches" in "org.jboss.metadata.MethodAttributes"
just stops at the first wildcard ("*") found and assumes that match is ok.
Either this is a bug or the documentation
("http://docs.jboss.com/jbossas/guides/j2eeguide/r2/en/html_single/#d0e11084")
should be changed and clearly inform that the wildcard must be the last character.
If you specify for example "*get*" than all methods will be matched....
Wildcard handling in
"org.jboss.metadata.MethodAttributes.patternMatches()" isn't correct (or
documentation problem)
--------------------------------------------------------------------------------------------------------------------
Key: JBAS-3816
URL:
https://issues.jboss.org/browse/JBAS-3816
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Docs/Administration and Configuration Guide, EJB2
Affects Versions: JBossAS-4.0.5.GA, JBossAS-4.2.0.GA, JBossAS-4.2.3.GA
Reporter: Anders Welen
Priority: Minor
Attachments: JBossBug.tgz
The method "patternMatches" in "org.jboss.metadata.MethodAttributes"
just stops at the first wildcard ("*") found and assumes that match is ok.
Either this is a bug or the documentation
("http://docs.jboss.com/jbossas/guides/j2eeguide/r2/en/html_single/#d0e11084")
should be changed and clearly inform that the wildcard must be the last character.
If you specify for example "*get" than all methods will be matched....
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira