]
Anders Welen updated JBAS-3816:
-------------------------------
Affects Version/s: JBossAS-4.2.3.GA
Wildcard handling in
"org.jboss.metadata.MethodAttributes.patternMatches()" isn't correct (or
documentation problem)
--------------------------------------------------------------------------------------------------------------------
Key: JBAS-3816
URL:
https://jira.jboss.org/browse/JBAS-3816
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
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.
-
If you think it was sent incorrectly contact one of the administrators: