Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix/avoid re-entrance #24

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

LlamaLad7
Copy link
Contributor

Based on my other PR since I can't build otherwise.
Mixin strictly disallows re-entrance during transformation so we should avoid evaluating args suppliers at transformation-time, instead storing the supplier and evaluating it at runtime.
Currently if an arg supplier causes a classload for a class that has a mixin it will crash.

We need ASM >=9 for this PR. The other stuff just seems to have broken over time.
Mixin does not allow re-entrance in plugins so we should not evaluate the args until runtime.
@MrNavaStar
Copy link

Running into this issue, merge would be great! (Thanks for the awesome library)

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.

2 participants