You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The path generated on Windows by the fix in #4543 is off by two characters (the drive letter).
To reproduce, use this repo and follow the README.
The output on Windows will be:
$ java -jar myapp.jar
Errno::ENOENT: No such file or directory - classpath:BY\jar-bootstrap.rb
realpath at org/jruby/RubyFile.java:864
require_relative at uri:classloader:/jruby/kernel/kernel.rb:11
<main> at classpath:/jar-bootstrap.rb:1
As noted here, this is because the path is expanded to include the drive. The fake prefix /THIS_IS_A_FAKE_PATH_FOR_JRUBY becomes something like C:/THIS_IS_A_FAKE_PATH_FOR_JRUBY. When it's supposed to be removed from the resulting path the BY is left over.
The text was updated successfully, but these errors were encountered:
has been attempted at cbf9a7d
... using a fake root path, however on Windows /SMT expands as C:\SMT
added '__' at the end so its more obvious if this is slightly off again
closesjruby#4630 (also jruby#4645)
The path generated on Windows by the fix in #4543 is off by two characters (the drive letter).
To reproduce, use this repo and follow the README.
The output on Windows will be:
As noted here, this is because the path is expanded to include the drive. The fake prefix
/THIS_IS_A_FAKE_PATH_FOR_JRUBY
becomes something likeC:/THIS_IS_A_FAKE_PATH_FOR_JRUBY
. When it's supposed to be removed from the resulting path theBY
is left over.The text was updated successfully, but these errors were encountered: