comparison src/share/vm/utilities/exceptions.hpp @ 14909:4ca6dc0799b6

Backout jdk9 merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Tue, 01 Apr 2014 13:57:07 +0200
parents d8041d695d19
children ada0a7729b6f
comparison
equal deleted inserted replaced
14908:8db6e76cb658 14909:4ca6dc0799b6
1 /* 1 /*
2 * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
221 #define CHECK_(result) THREAD); if (HAS_PENDING_EXCEPTION) return result; (void)(0 221 #define CHECK_(result) THREAD); if (HAS_PENDING_EXCEPTION) return result; (void)(0
222 #define CHECK_0 CHECK_(0) 222 #define CHECK_0 CHECK_(0)
223 #define CHECK_NH CHECK_(Handle()) 223 #define CHECK_NH CHECK_(Handle())
224 #define CHECK_NULL CHECK_(NULL) 224 #define CHECK_NULL CHECK_(NULL)
225 #define CHECK_false CHECK_(false) 225 #define CHECK_false CHECK_(false)
226 #define CHECK_JNI_ERR CHECK_(JNI_ERR)
227 226
228 #define CHECK_AND_CLEAR THREAD); if (HAS_PENDING_EXCEPTION) { CLEAR_PENDING_EXCEPTION; return; } (void)(0 227 #define CHECK_AND_CLEAR THREAD); if (HAS_PENDING_EXCEPTION) { CLEAR_PENDING_EXCEPTION; return; } (void)(0
229 #define CHECK_AND_CLEAR_(result) THREAD); if (HAS_PENDING_EXCEPTION) { CLEAR_PENDING_EXCEPTION; return result; } (void)(0 228 #define CHECK_AND_CLEAR_(result) THREAD); if (HAS_PENDING_EXCEPTION) { CLEAR_PENDING_EXCEPTION; return result; } (void)(0
230 #define CHECK_AND_CLEAR_0 CHECK_AND_CLEAR_(0) 229 #define CHECK_AND_CLEAR_0 CHECK_AND_CLEAR_(0)
231 #define CHECK_AND_CLEAR_NH CHECK_AND_CLEAR_(Handle()) 230 #define CHECK_AND_CLEAR_NH CHECK_AND_CLEAR_(Handle())