Skip to content

Warnings in Rake's extension code to FileUtils under JRuby 9.4.0.0 #7499

@deivid-rodriguez

Description

@deivid-rodriguez

Environment Information

I'm getting new warnings since JRuby 9.4.0.0 in Rake's extension code to FileUtils: https://github.com/ruby/rake/blob/1d387b0291a95d433e83963c0278c656841263c3/lib/rake/file_utils_ext.rb.

Expected Behavior

Clone ttps://github.com/rubygems/rubygems/.

Run ruby -Ilib -S rake install with JRuby 9.4.0.0. NOTE: this upgrades your JRuby installation to the the master version of RubyGems & Bundler. It can be reverted with gem update --system <previous_version>.

You'll get an output full of lines similar to the following:

/Users/deivid/.asdf/installs/ruby/jruby-9.4.0.0/lib/ruby/gems/shared/gems/rake-13.0.6/lib/rake/file_utils_ext.rb:36: warning: key :verbose is duplicated and overwritten on line 36

Actual Behavior

Clean output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions