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
[NETBEANS-4177] Add another check for valid parameter list position to avoid exception if sourcecode is incorrect #2082
Conversation
@eirikbakke : Should fix your mentioned issue |
Reading through the method, this seems straightforward enough. Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Might be nice to add a test.
@jlahoda : Simple test added. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
…o avoid exception if sourcecode is incorrect
@jlahoda : Should be considered for 12.0, too? |
Yes, I believe this should be considered for 12.0. Eirik - what do you think? |
Looks completely safe to include to me. |
If you still have this patch running on your build, could you see if this also handles the following case?
|
Hi @eirikbakke, works for me on master build 1578. |
@graben Excellent--thank you! |
No description provided.