Skip to content

Conversation

@bluelhf
Copy link
Contributor

@bluelhf bluelhf commented Dec 30, 2025

This PR makes three improvements to the looking glass:

  1. It stores a constant pool reference of type InterfaceMethodRef for static interface methods, which fixes runtime errors.
  2. It inverts the parameter type matching logic in findSmartMethod in order to find methods correctly.
  3. It adds a null target guard clause to findSmartMethod, as the method may invoke itself with a null target when trying to find the method in the super-class of an interface (the super-class of an interface is always null).

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.

1 participant