Wildcard handling in "org.jboss.metadata.MethodAttributes.patternMatches()"
isn't correct (or documentation problem)
--------------------------------------------------------------------------------------------------------------------
Key: JBAS-3816
URL:
http://jira.jboss.com/jira/browse/JBAS-3816
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: JBossAS-4.0.5.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:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira