Skip to content

Conversation

@dfangl
Copy link
Member

@dfangl dfangl commented Nov 3, 2021

This PR filters the methods matched by the handler method specification, so matching bridge methods do not get invoked / counted.
This is necessary for invoking methods which are also part of the implementation of a generic interface, like implementing RequestHandler, and then specifying the method handleRequest in the handler specification.

Should (finally) fix localstack/localstack#4512

Test for this behavior will be published in a complementing LocalStack PR.

@dfangl dfangl requested a review from whummer November 3, 2021 12:07
Copy link
Member

@whummer whummer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, great catch @dfangl ! 👍 We'll release a new version to Maven Central right away..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Java 11 Lambda incorrect handler specification

3 participants