elharo opened a new pull request, #286:
URL: https://github.com/apache/maven-dependency-analyzer/pull/286

   Fixes #283
   
   DefaultMethodVisitor.visitInvokeDynamicInsn() was only processing Type-typed 
bootstrap arguments, ignoring Handle arguments. Each Handle.getOwner() contains 
the owning class of the target method or field.
   
   For method references like `CustomClass::method`, the method handle's owner 
class was never recorded as a dependency, causing false negatives.
   
   Changes:
   - Record `bootstrapMethodHandle.getOwner()` in addition to existing Type 
processing
   - Also process Handle-typed bootstrap arguments (e.g. lambda method 
references)
   - Add unit tests for invokedynamic with method handles
   - Add integration test with `Helper::transform` method reference


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to