Issue Type: Bug Bug
Affects Versions: JRuby 1.7.2
Assignee: Unassigned
Components: Java Integration
Created: 10/Jan/13 6:39 PM
Description:

This turns out to be an old issue, but I must have forgotten to raise it on JIRA.

@Test
public void testGetterAndIs() throws Exception {
    ScriptEngineManager manager = new ScriptEngineManager();
    ScriptEngine engine = manager.getEngineByExtension("rb");
    engine.put("object", new GetterAndIs());
    assertEquals("thing", engine.eval("object.thing"));
}

This test fails with (ArgumentError) wrong number of arguments (0 for 1).

JRuby normally handles multiple methods with different types with no issues at all - if I had called both methods execute(), or even if I had called both methods getThing(), the test would have passed.

There is a specific issue when both getThing() and isThing() are present which breaks things somehow.

Project: JRuby
Priority: Major Major
Reporter: Trejkaz
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to