Java 1.5.0_12 causes "yield called out of block" error during ant test on 
Windows and Linux
-------------------------------------------------------------------------------------------

                 Key: JRUBY-1267
                 URL: http://jira.codehaus.org/browse/JRUBY-1267
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.x
            Reporter: Charles Oliver Nutter
            Assignee: Charles Oliver Nutter


Sun's Java 1.5.0_12 causes the following error during "ant test" on both 
Windows and Linux:

{noformat}
    [junit] Testsuite: org.jruby.test.TestUnitTestSuite
    [junit] yield called out of block
    [junit] <script>:4:in `start_mediator'<script>:4:in `start'<script>:4)
    [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 4.703 sec
    [junit]
    [junit] Testcase: rubicon/test_array(org.jruby.test.TestUnitTestSuite$Script
Test):  FAILED
    [junit] Faults encountered running test\rubicon\test_array, complete output
follows:
    [junit] yield called out of block
    [junit] <script>:4:in `start_mediator'<script>:4:in `start'<script>:4
    [junit] junit.framework.AssertionFailedError: Faults encountered running tes
t\rubicon\test_array, complete output follows:
    [junit] yield called out of block
    [junit] <script>:4:in `start_mediator'<script>:4:in `start'<script>:4
    [junit]     at org.jruby.test.TestUnitTestSuite$ScriptTest.runTest 
(TestUnitT
estSuite.java:209)
{noformat}

The test_array script runs successfully outside "ant test".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
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