Skip to content

JRUBY_OPTS gives misleading warning #3620

@chrisseaton

Description

@chrisseaton

Either I don't understand how JRUBY_OPTS is supposed to work, or it gives misleading warnings:

$ JRUBY_OPTS='-J-ea' bin/jruby -e 1
warning: -J-ea argument ignored (launched in same VM?)

We haven't launched a sub-JRuby there, and I think the argument isn't ignored:

$ JRUBY_OPTS='-J-version' bin/jruby -e 1
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions