# HG changeset patch # User ehelin # Date 1376480976 -7200 # Node ID 5d9995d16b26e9b46f3f690a6773c5c8a937eabf # Parent 3f22cbf5275d897ea7e12d887c5a56f857cd5409 8022899: SunStudio compiler can not handle EXCEPTION_MARK and inlining Reviewed-by: coleenp, mgerdin diff -r 3f22cbf5275d -r 5d9995d16b26 src/share/vm/utilities/exceptions.hpp --- a/src/share/vm/utilities/exceptions.hpp Wed Aug 14 10:55:45 2013 +0200 +++ b/src/share/vm/utilities/exceptions.hpp Wed Aug 14 13:49:36 2013 +0200 @@ -306,6 +306,6 @@ // which preserves pre-existing exceptions and does not allow new // exceptions. -#define EXCEPTION_MARK Thread* THREAD; ExceptionMark __em(THREAD); +#define EXCEPTION_MARK Thread* THREAD = NULL; ExceptionMark __em(THREAD); #endif // SHARE_VM_UTILITIES_EXCEPTIONS_HPP