Claus Ibsen created CAMEL-28005:
-----------------------------------

             Summary: camel-jandex - JandexPackageScanClassResolver ignores the 
package name
                 Key: CAMEL-28005
                 URL: https://issues.apache.org/jira/browse/CAMEL-28005
             Project: Camel
          Issue Type: Bug
            Reporter: Claus Ibsen
             Fix For: 4.25.0


h4. 1. JandexPackageScanClassResolver.find

It ignores packageName, so findAnnotated/findImplementations("org.foo") returns 
matching classes of every package in every jandex.idx. It only handles 
AnnotatedWith(Any)PackageScanFilter and AssignableToPackageScanFilter 
(findByFilter with another filter finds nothing), and never calls 
test.matches(clazz). Proposed change: skip names outside packageName and keep 
only classes that test.matches.

Found while checking the option and console descriptions of CAMEL-27980.

----
_Filed by Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to