Skip to content

Changed File.exists? to File.exist? in Rakefile - #1223

Merged
headius merged 1 commit into
jruby:masterfrom
Kostadin:patch-1
Aug 6, 2026
Merged

headius merged 1 commit into
jruby:masterfrom
Kostadin:patch-1

Conversation

@Kostadin

Copy link
Copy Markdown
Contributor

The File.exists? method no longer exists in Ruby 4 and JRuby 10. Changed the only leftover of File.exists? to File.exist? in order to ensure compatibility.

The File.exists? method no longer exists in Ruby 4 and JRuby 10. Changed the only leftover of File.exists? to File.exist? in order to ensure compatibility.
@headius

headius commented Jul 29, 2026

Copy link
Copy Markdown
Member

Wow amazing this has not been an issue sooner.

@headius
headius merged commit a5bf39a into jruby:master Aug 6, 2026
1 of 13 checks passed
@chadlwilson

chadlwilson commented Sep 26, 2026 •

Copy link
Copy Markdown

That path seems only used with BUILD_EXT_MAVEN≠true which is not the default and doesn't seem used by the build here? So I suppose that's uncommonly used.

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.

3 participants