[perl #34970] [PATCH] fixed getattribute to throw real "Attribute not found" exception

5 views
Skip to first unread message

Cory Spencer

unread,
Apr 13, 2005, 8:19:49 PM4/13/05
to bugs-bi...@rt.perl.org
# New Ticket Created by Cory Spencer
# Please include the string: [perl #34970]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=34970 >

The getattribute opcode previously threw an internal exception when an
attribute wasn't found in a class. This type of exception is uncatchable
with Parrot exception handlers. The included patch allows a real,
catchable exception to be thrown in these cases.

attrib-exception.patch

Jens Rieks

unread,
Apr 14, 2005, 8:56:05 AM4/14/05
to perl6-i...@perl.org
Thanks, committed with some tweaks to not break t/pmc/objects.t.
Please test your patches prior to submission.

NB: I've skipped the changed comments, please review them

jens

Reply all
Reply to author
Forward
0 new messages