#595: Panic when rethrowing null
--------------------+-------------------------------------------------------
Reporter: isop | Owner: whiteknight
Type: bug | Status: assigned
Priority: normal | Milestone:
Component: none | Version: trunk
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
--------------------+-------------------------------------------------------
Comment(by NotFound):
I think that throwing a exception with severity EXCEPT_fatal will be more
appropiate. Throwing or rethrowing a null is not such an abnormal
situation that requires killing the interpreter/thread/whatever.
EXCEPT_fatal seems fatal enough.
BTW the throw P opcode sets the attribute "resume" in the exception before
throwing, it causing an NULL PMC exception, so this patch can't catch all
cases.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/595#comment:4>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets