Skip to content

Conversation

@EpicPlayerA10
Copy link
Contributor

@EpicPlayerA10 EpicPlayerA10 commented Nov 18, 2024

According to https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-6.html#jvms-6.5.wide when the wide instruction holds an IINC then it have size of 6. Otherwise it has a size of 4.

This bug caused a cafedude to crash when writing a class that uses wide instruction.

Also added a sample class to the tests.

@Col-E Col-E added the bug Something isn't working label Nov 18, 2024
@Col-E Col-E merged commit 7e892b6 into Col-E:master Nov 24, 2024
1 check passed
@Col-E
Copy link
Owner

Col-E commented Nov 24, 2024

Nice catch 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants