# New Ticket Created by  Christian Bartolomaeus 
# Please include the string:  [perl #130687]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=130687 >


After Rakudo commit https://github.com/rakudo/rakudo/commit/d69f3751d5
some new failures happen during j-spectest. They are caused by new
UnwindExceptions. Two examples for newly failing code:

## from S32-num/polymod.t
$ ./perl6-j -e 'say 1234567890.polymod(10 xx *)'
Exception in thread "main" org.perl6.nqp.runtime.UnwindException
        at org.perl6.nqp.runtime.ThreadContext.<init>(ThreadContext.java:127)
        at 
org.perl6.nqp.runtime.GlobalContext.getCurrentThreadContext(GlobalContext.java:340)
        at org.perl6.nqp.runtime.GlobalContext.<init>(GlobalContext.java:253)
        at 
org.perl6.nqp.runtime.CompilationUnit.enterFromMain(CompilationUnit.java:56)
        at perl6.main(gen/jvm/main.nqp)

## from integration/advent2011-day23.t
$ ./perl6-j -e 'my @s = gather for 3, * + 3 ... * -> $n { last if $n > 21; take 
$n };'
Exception in thread "main" org.perl6.nqp.runtime.UnwindException
        at org.perl6.nqp.runtime.ThreadContext.<init>(ThreadContext.java:127)
        at 
org.perl6.nqp.runtime.GlobalContext.getCurrentThreadContext(GlobalContext.java:340)
        at org.perl6.nqp.runtime.GlobalContext.<init>(GlobalContext.java:253)
        at 
org.perl6.nqp.runtime.CompilationUnit.enterFromMain(CompilationUnit.java:56)
        at perl6.main(gen/jvm/main.nqp)

I'm going to fudge the failing tests, but wanted to open this ticket
for later reference.

Reply via email to