-
Notifications
You must be signed in to change notification settings - Fork 136
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
[Switch Expression] NPE in StackMapFrameCodeStream.recordExpressionType #2072
Comments
Stack trace is somewhat useful - but a reproducible test case will be very welcome. |
@rfcom : could you please attach the source code that shows the problem? @srikanth-sankaran : I assume something you will address anyway during switch refactoring work, right? The code in question that fails with NPE is very old, probably not a recent regression. |
Yes, I will follow up. |
This was part of the ad-hoc stack size computation that #2171 attempts to eliminate with a streamlined and structured stack size tracking across branch arcs. The method where the NPE is reported doesn't exist anymore and so the problem has been incinerated. Closing as fixed by #2171 |
https://git.eclipse.org/r/plugins/gitiles/jdt/eclipse.jdt.core/+/master/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrameCodeStream.java
The text was updated successfully, but these errors were encountered: