Skip to content

Avoid NullPointerException in Symbol operand#6978

Merged
enebo merged 1 commit intojruby:jruby-9.2from
dee-see:patch-1
Dec 23, 2021
Merged

Avoid NullPointerException in Symbol operand#6978
enebo merged 1 commit intojruby:jruby-9.2from
dee-see:patch-1

Conversation

@dee-see
Copy link
Contributor

@dee-see dee-see commented Dec 23, 2021

Hello team,

I've been doing some reverse engineering work on a JRuby application and while dumping the IR using some code I wrote that uses IRDumper I hit a few NullPointerExceptions.

I see getString is already fixed in 9.3.x but the rest was missing.

I wasn't sure what was the best way to contribute this PR. Should I open master first and then backport to jruby-9.3 and jruby-9.2?

@enebo enebo added this to the JRuby 9.2.21.0 milestone Dec 23, 2021
@enebo enebo merged commit 40c83d6 into jruby:jruby-9.2 Dec 23, 2021
@enebo
Copy link
Member

enebo commented Dec 23, 2021

@dee-see This was the right branch. It is easy to see the problem and the risk is extremely low (not fixing it can only NPE). Thanks!

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 this pull request may close these issues.

2 participants