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

Use ClassReader.EXPAND_FRAMES as dictated by the AnalyzerAdapter documentation #368

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

eupp
Copy link
Collaborator

@eupp eupp commented Aug 22, 2024

In LincheckJavaAgent, use ClassReader.EXPAND_FRAMES as dictated by the AnalyzerAdapter documentation:

public class AnalyzerAdapter
extends MethodVisitor

A MethodVisitor that keeps track of stack map frame changes between visitFrame(int, int, Object[], int, Object[]) calls. This adapter must be used with the ClassReader.EXPAND_FRAMES option.

https://asm.ow2.io/javadoc/org/objectweb/asm/commons/AnalyzerAdapter.html

@eupp eupp requested a review from ndkoval August 22, 2024 17:23
@eupp eupp changed the base branch from master to develop August 22, 2024 17:23
@ndkoval ndkoval merged commit d852db6 into develop Aug 28, 2024
15 checks passed
@ndkoval ndkoval deleted the fix-analyzer-adapter branch August 28, 2024 14:05
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