Skip to content

Mod ConstantPoolTypeIntrospector to disregard closed variables #929

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wants to merge 3 commits into from

Conversation

atorstling
Copy link
Contributor

This is a new attempt at closing over local variables.

When the ConstantPoolTypeIntrospector looks at the static method which the lambda refers to, it disregards leading arguments which are used for passing in local state. By using the actual argument count in the AN (A1, A2 etc) interface, it can figure out how many argument types to look for.

This branch also contains dcowboys changes copy-pasted, since they were needed to make everything work on the latest JDK. Tell me how you would like to handle the merge of that if you would like to merge this request. Otherwise feel free to just take inspiration from my code and rewrite it as you wish.

@lock
Copy link

lock bot commented Oct 25, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant