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

Java: fix unreachable basic blocks in const switch stmt #17988

Merged

Conversation

owen-mc
Copy link
Contributor

@owen-mc owen-mc commented Nov 14, 2024

This bug was fixed in passing in #711, but unfortunately that PR wasn't merged for performance reasons. It hasn't been noticed in the meantime, presumably because constant switch statements are pretty rare.

@owen-mc owen-mc requested a review from a team as a code owner November 14, 2024 14:54
@github-actions github-actions bot added the Java label Nov 14, 2024
owen-mc added a commit to owen-mc/codeql that referenced this pull request Nov 15, 2024
This is unrelated to the main purpose of this PR.
I have made a separate PR to do it here:
github#17988
Copy link
Contributor

@aschackmull aschackmull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Although, the UnreachableBlocks library might be dead code, IIRC.

@owen-mc owen-mc merged commit e2f17c6 into github:main Nov 19, 2024
15 checks passed
@owen-mc owen-mc deleted the java/fix-unreachable-blocks-in-const-switch-stmt branch November 19, 2024 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants