Throwable types handled specially in the VM?
joe.darcy at oracle.com
Thu Aug 19 19:03:27 PDT 2010
As part of Project Coin, try-with-resources/ARM blocks have recently
been integrated into JDK 7. Part of this feature is changes to
java.lang.Throwable to support recording of suppressed exception
information (6911258 "Project Coin: Add essential API support for
Automatic Resource Management (ARM) blocks"). Subsequently, some more
changes in Throwable were necessary to fix a regression in the ability
to print the stack traces of specially handled OutOfMemoryErrors
(6973831 "NPE when printing stack trace of OOME").
Are there any other Throwable types which receive special handling or
creation by the VM? If there are any, I'd like to examine them to find
and correct and additional issues.
More information about the hotspot-dev