diff options
author | Joel Anderson <joelanderson333@gmail.com> | 2022-12-15 23:46:56 -0500 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-01-04 06:32:46 +0000 |
commit | e25c173c97e1e0e538aeb85734cabcbb59cd11ab (patch) | |
tree | 0b477a608af8d9be52bd007935cee411cbf79870 | |
parent | d57148e9e2fa83262f56484bb1f7c9c511c9dbc4 (diff) |
[ruby/reline] correct Win32API capitalization for JRuby
JRuby 9.4.0.0 introduced a change in case sensitivity in require statements,
meaning that an inclusion of `win32api` loaded Win32API.rb. With this change,
the require statement needs to be updated to the correct capitalization of the
filename to avoid reline failures in newer versions of JRuby.
https://github.com/ruby/reline/commit/d6e7c9e1d9
-rw-r--r-- | lib/reline/windows.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/windows.rb b/lib/reline/windows.rb index b952329911..c572197472 100644 --- a/lib/reline/windows.rb +++ b/lib/reline/windows.rb @@ -53,7 +53,7 @@ class Reline::Windows end if defined? JRUBY_VERSION - require 'win32api' + require 'Win32API' else class Win32API DLL = {} |