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

Add stronger typing for opcodes with classinfo #49

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Add stronger typing for opcodes with classinfo #49

merged 1 commit into from
Aug 28, 2024

Conversation

staktrace
Copy link
Owner

This is from section 4.4.1 which allows classinfo
to reference binary names or array type descriptors, except for the new opcode which is only allowed
binary names.

This is from section 4.4.1 which allows classinfo
to reference binary names or array type descriptors,
except for the new opcode which is only allowed
binary names.
@staktrace staktrace merged commit 1f011fa into main Aug 28, 2024
5 checks passed
@C0D3-M4513R
Copy link
Contributor

Storing Opcode::New as an ObjectArrayType, when it can only ever be a BinaryName seems like an invalid memory state is possible.

@staktrace
Copy link
Owner Author

Yeah, fair point. #50

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