Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
jruby --properties generates confusing comments in .jrubyrc #949
When using the --properties flag to generate a base .jrubyrc, several properties default to null. This leads to lines like
This seems to set the property to the string "null" instead of a null object which leads to jruby failing to run (at least in the case of ir.passes).
Commenting the offending lines seems to resolve the problem, but the --properties flag should probably generate those null properties as commented lines to being with.
The produced output is valid, since they are comment out. Furthermore, they are clearly marked to indicate how they will be interpreted, and the default is
Having said that, I tweaked in bab765f so that the value is not printed in the right side of the assignment to reduce potential confusion.