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

No way to check type of LDC? #30

Open
ThisTestUser opened this issue Jul 12, 2020 · 0 comments · May be fixed by #51
Open

No way to check type of LDC? #30

ThisTestUser opened this issue Jul 12, 2020 · 0 comments · May be fixed by #51

Comments

@ThisTestUser
Copy link

There currently doesn't seem to be a way to check the type of a LDC, since using cst.getClass().getName() is not allowed. In the debug environment I was able to get around this by doing instruction.cst.getClass() == "class java.lang.X, but when running normally the check simply fails without any error. Is there any workaround to this?

@Jonathing Jonathing linked a pull request Oct 11, 2024 that will close this issue
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 a pull request may close this issue.

1 participant