Forum: JRuby unable to run trunk

Posted by Roger Pack (rogerdpack)
on 2010-03-04 22:48
get this on two different computers with clean builds...


C:\dev\ruby\downloads\jruby\bin>jruby -v -e ''

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
Posted by Vladimir Sizikov (Guest)
on 2010-03-04 23:10
(Received via mailing list)
Niiice.  Looks like jruby doesn't like empty string for -e parameter.

Please, file a bug.

Note that this happens only with empty string. With anything else, it
works fine.

Thanks,
  --Vladimir

On Thu, Mar 4, 2010 at 10:48 PM, Roger Pack <lists@ruby-forum.com> 
wrote:
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Vladimir Sizikov (Guest)
on 2010-03-04 23:17
(Received via mailing list)
Just bisected the failure, and it seems to be a recent regression, 
caused by:

commit cefba7844161458cf4b95737c8bba9911eab47d7
JRUBY-4611: Stop scanning for options on first bare arg that does not
start with '-'

Good catch!

Thanks,
  --Vladimir

On Thu, Mar 4, 2010 at 10:48 PM, Roger Pack <lists@ruby-forum.com> 
wrote:
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Vladimir Sizikov (Guest)
on 2010-03-04 23:48
(Received via mailing list)
Hi Roger,

The crash for -e (and similar crashes for other options like -Xtrace
'' or -Xjdkhome '') are fixed now, please update your git repo to get
the fix.

Thanks,
  --Vladimir

On Thu, Mar 4, 2010 at 10:48 PM, Roger Pack <lists@ruby-forum.com> 
wrote:
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Roger Pack (rogerdpack)
on 2010-03-04 23:51
> The crash for -e (and similar crashes for other options like -Xtrace
> '' or -Xjdkhome '') are fixed now, please update your git repo to get
> the fix.

Works well now, thanks.
-rp


E:\dev\ruby\downloads\jruby\bin>jruby -v -e ''
jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2010-03-04 1960b6f) (Java 
HotSpot(TM) Client VM 1.6.0_17) [x86-java]

E:\dev\ruby\downloads\jruby\bin>
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.