Skip to content

Fix possible NPE in UnboxableOpsAnalysisNode:getUnboxedVar()#8813

Open
ngr-ilmarh wants to merge 1 commit intojruby:masterfrom
NGRsoftlab:fix-8812
Open

Fix possible NPE in UnboxableOpsAnalysisNode:getUnboxedVar()#8813
ngr-ilmarh wants to merge 1 commit intojruby:masterfrom
NGRsoftlab:fix-8812

Conversation

@ngr-ilmarh
Copy link
Contributor

Fix #8812

@headius
Copy link
Member

headius commented Apr 30, 2025

The unboxed logic has not been active for many years, and was experimental even then. I would like to see some tracing to see if unboxedVar is ever actually null, and if it is not we could just guarantee that in other ways and eliminate the checks.

@headius headius added this to the JRuby 9.4.13.0 milestone Apr 30, 2025
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.

Possible NPE in UnboxableOpsAnalysisNode:getUnboxedVar() found by SAST

2 participants