Skip to content

Fix NullPointerException when option is not :base#4946

Merged
enebo merged 1 commit intojruby:ruby-2.5from
ChrisBr:bug/np-dir
Jan 8, 2018
Merged

Fix NullPointerException when option is not :base#4946
enebo merged 1 commit intojruby:ruby-2.5from
ChrisBr:bug/np-dir

Conversation

@ChrisBr
Copy link
Contributor

@ChrisBr ChrisBr commented Jan 6, 2018

now it throws an ArgumentError like it does in MRI.
Introduced in #4936.

now it throws an ArgumentError like it does in MRI.
Introduced in jruby#4936.
@enebo enebo added this to the JRuby 9.3.0.0 milestone Jan 8, 2018
@enebo enebo merged commit f5ef5ac into jruby:ruby-2.5 Jan 8, 2018
@enebo
Copy link
Member

enebo commented Jan 8, 2018

@ChrisBr Now that you fixed this I suspect you are missing another Hash type check if arity == 3. Trying passing in a Fixnum as arg three...

@enebo enebo modified the milestones: JRuby 9.3.0.0, JRuby 9.2.0.0 Apr 23, 2018
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