[perl #131167] [JVM] Newly-added NQP test for catching exceptions fails on JVM
I have committed https://github.com/perl6/nqp/commit/59d7a8869c and this test passes now. As far as I understand, the right handler was missed when moving to the outside, because unwind_check sets the outer handler to 0 by default if no outer handler is passed. We do the latter now. I'm closing this ticket as 'resolved'.
[perl #131167] [JVM] Newly-added NQP test for catching exceptions fails on JVM
# New Ticket Created by Zoffix Znet # Please include the string: [perl #131167] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131167 > I had to fudge it for the release and will unfudge after the release. The test tests if a labeled exception is uncaught by inner unlabled handler and is caught by outer labeled handler instead, but on JVM it's uncaught entirely. Fudge: https://github.com/perl6/nqp/commit/0994e33818 Output of failing test: Unhandled exception; category = 4224 in (gen/jvm/stage2/NQPHLL.nqp:1281) in (gen/jvm/stage2/NQPHLL.nqp) in catch_unlabeled_first (t/nqp/044-try-catch.t:428) in (t/nqp/044-try-catch.t:439) in eval (gen/jvm/stage2/NQPHLL.nqp:1168) in evalfiles (gen/jvm/stage2/NQPHLL.nqp:1371) in command_eval (gen/jvm/stage2/NQPHLL.nqp:1265) in command_line (gen/jvm/stage2/NQPHLL.nqp:1239) in MAIN (gen/jvm/stage2/NQP.nqp:4130) in (gen/jvm/stage2/NQP.nqp:4126) in (gen/jvm/stage2/NQP.nqp)