Skip Menu |
Report information
Id: 131167
Status: resolved
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: cpan [at] zoffix.com
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: JVM



Subject: [JVM] Newly-added NQP test for catching exceptions fails on JVM
Download (untitled) / with headers
text/plain 898b
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 <anon> (gen/jvm/stage2/NQPHLL.nqp:1281) in <anon> (gen/jvm/stage2/NQPHLL.nqp) in catch_unlabeled_first (t/nqp/044-try-catch.t:428) in <mainline> (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 <mainline> (gen/jvm/stage2/NQP.nqp:4126) in <anon> (gen/jvm/stage2/NQP.nqp)
Download (untitled) / with headers
text/plain 113b
The release has been done and the removal has now been reverted in https://github.com/perl6/nqp/commit/6916dd0d99
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 324b
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'.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org