[RFA/JVMTI] New JVMTI Environment Initialization/Allocation
Keith Seitz
keiths@redhat.com
Fri Sep 1 17:55:00 GMT 2006
Andrew Haley wrote:
> These macros are dangerous because of hidden dangling else:
How's this?
Keith
ChangeLog
2006-09-01 Keith Seitz <keiths@redhat.com>
* jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Encapsulate in
do..while loop.
(THREAD_CHECK_VALID): Likewise.
(THREAD_CHECK_IS_ALIVE): Likewise.
(NULL_CHECK): Likewise.
(ILLEGAL_ARGUMENT): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jvmti-macro-cleanup.patch
Type: text/x-patch
Size: 1860 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20060901/b3b8e450/attachment.bin>
More information about the Java-patches
mailing list