[e-lang] Non-local Exits vs Defensive Consistency - Tyler Close
Mark Miller
erights at gmail.com
Sun Jan 28 23:04:21 CST 2007
---------- Forwarded message ----------
From: Close, Tyler J. <tyler.close at hp.com>
Date: Jan 28, 2007 10:35 AM
Subject: taming (Was: VirtualMachineError)
David Wagner wrote:
> For instance, here is one not-so-obvious but I think
> minor issue: taming. With Alan's proposal, we have to
> know that no Java class libraries will ever catch and
> handle Error or any subtype thereof.
Good point. It looks like both java.lang.reflect.Method and
java.lang.reflect.Constructor catch a thrown Error and wrap it in a
java.lang.reflect.InvocationTargetException. I guess we'll have to
extend the reflection API with a Joe-E wrapper that undoes this
wrapping.
Tyler
More information about the e-lang
mailing list