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

Copy Bootstrap Methods cause crash #496

Open
Asbestosstar opened this issue Nov 7, 2024 · 0 comments
Open

Copy Bootstrap Methods cause crash #496

Asbestosstar opened this issue Nov 7, 2024 · 0 comments

Comments

@Asbestosstar
Copy link

Asbestosstar commented Nov 7, 2024

The way the copyBootstrapMethods method works is it uses the default classpool to look for CtClass files but this does not work if it is on a different classpool or not in a classpool at all. I commonly use JA for the Bytecode level API only which causes issues when I use .compact without a classpool causing great issue with my tools which worked fine with older versions of javassist. Compile time and Bytecode should not really be mixed all that much, at least provide an option to turn off the copy bootstrap in classfile.compact

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

No branches or pull requests

1 participant