-
-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jruby -X gives warning #5202
Comments
First of all...
Why? Getting past that...this only appears to be broken in the native launcher. The bash script produces the following output:
|
In MRI, |
Yeah I know -X is like -C in MRI. I guess I just can't remember when anyone complained that we're using -X. I occasionally forget when switching to MRI but I've never had it accidentally work and do something unexpected. Funny thing...as far as I can see, -X isn't even documented in I think we should make the error/warning consistent, make sure it explains this flag is for JRuby options, and leave it at that. |
Yes https://github.com/oracle/truffleruby/blob/master/doc/user/options.md#unlisted-ruby-switches For TruffleRuby I've added this warning if it looks like someone is trying to use
|
I believe we implement all of these except -X and the CRuby-specific instruction dumping.
Yeah seems prudent. |
Closing due to inactivity. |
Environment
jruby 9.2.0.0 (2.5.0) 2018-05-24 81156a8 Java HotSpot(TM) 64-Bit Server VM 25.161-b12 on 1.8.0_161-b12 +jit [darwin-x86_64]
Expected Behavior
ruby -X
to not print any warnings.Actual Behavior
(See above 'Extended options')
The text was updated successfully, but these errors were encountered: