| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
If no CLASSPATH env is provided when running jruby.sh, we end up building a bogus classpath flag of `-classpath :`. Other situations may result in forms like `-classpath some.jar:` or `-classpath :some.jar`. The changes here avoid passing -classpath at all if empty, and only insert delimiters when concatenating classpaths if they are non-empty. Possible fix for jruby#9255
|
@mrnoname1000 This appears to work fine but it's a little redundant in places. Maybe you have a suggestion to clean it up? |
Sorry, something went wrong.
|
Marked for 10.0.4.0 but probably should be backported to 9.4 (at least until we can make it upgradable after release). |
Sorry, something went wrong.
Sorry, something went wrong.
Simplify classpath flag calculation
| Back | FazBrowse Home | New Git URL |
If no CLASSPATH env is provided when running jruby.sh, we end up building a bogus classpath flag of -classpath :. Other situations may result in forms like -classpath some.jar: or -classpath :some.jar. The changes here avoid passing -classpath at all if empty, and only insert delimiters when concatenating classpaths if they are non-empty.
Possible fix for #9255