Issue Details (XML | Word | Printable)

Key: JRUBY-3287
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Thomas E Enebo
Reporter: Jim Menard
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JRuby

Add public RubyInstanceConfig#setCompatVersion

Created: 06/Jan/09 11:57 AM   Updated: 21/Mar/09 01:14 PM
Component/s: Java Integration
Affects Version/s: JRuby 1.1.6
Fix Version/s: JRuby 1.2

Time Tracking:
Not Specified

Environment: Any

Patch Submitted: Yes


 Description  « Hide
There is no way to publicly set the compatVersion instance variable from within Java code. Instead, the only way to do so is through the "--compat" command line argument or the jruby.compat.version property setting.

Adding a RubyInstanceConfig#setCompatVersion method would be nice. Here's the code:

public void setCompatVersion(CompatVersion newCompatVersion) { compatVersion = newCompatVersion; }



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Thomas E Enebo added a comment - 06/Jan/09 01:57 PM
Fixed in commit 8617.