Thu, 24 Oct 2013 16:23:07 -0700
8026328: Setting a breakpoint on invokedynamic crashes the JVM
Reviewed-by: jrose, roland
never@1445 | 1 | /* |
trims@2708 | 2 | * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. |
never@1445 | 3 | * Copyright 2009 Red Hat, Inc. |
never@1445 | 4 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
never@1445 | 5 | * |
never@1445 | 6 | * This code is free software; you can redistribute it and/or modify it |
never@1445 | 7 | * under the terms of the GNU General Public License version 2 only, as |
trims@1907 | 8 | * published by the Free Software Foundation. Oracle designates this |
never@1445 | 9 | * particular file as subject to the "Classpath" exception as provided |
trims@1907 | 10 | * by Oracle in the LICENSE file that accompanied this code. |
never@1445 | 11 | * |
never@1445 | 12 | * This code is distributed in the hope that it will be useful, but WITHOUT |
never@1445 | 13 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
never@1445 | 14 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
never@1445 | 15 | * version 2 for more details (a copy is included in the LICENSE file that |
never@1445 | 16 | * accompanied this code). |
never@1445 | 17 | * |
never@1445 | 18 | * You should have received a copy of the GNU General Public License version |
never@1445 | 19 | * 2 along with this work; if not, write to the Free Software Foundation, |
never@1445 | 20 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
never@1445 | 21 | * |
trims@1907 | 22 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
trims@1907 | 23 | * or visit www.oracle.com if you need additional information or have any |
trims@1907 | 24 | * questions. |
never@1445 | 25 | */ |
never@1445 | 26 | |
coleenp@2507 | 27 | |
emc@5063 | 28 | |
emc@5063 | 29 | // Note: please do not change these without also changing jni_md.h in the JDK |
emc@5063 | 30 | // repository |
emc@5063 | 31 | #ifndef __has_attribute |
emc@5063 | 32 | #define __has_attribute(x) 0 |
emc@5063 | 33 | #endif |
emc@5063 | 34 | #if (defined(__GNUC__) && ((__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2))) || __has_attribute(visibility) |
coleenp@2507 | 35 | #define JNIEXPORT __attribute__((visibility("default"))) |
coleenp@2507 | 36 | #define JNIIMPORT __attribute__((visibility("default"))) |
coleenp@2507 | 37 | #else |
coleenp@2507 | 38 | #define JNIEXPORT |
coleenp@2507 | 39 | #define JNIIMPORT |
coleenp@2507 | 40 | #endif |
never@1445 | 41 | #define JNICALL |
never@1445 | 42 | |
never@1445 | 43 | typedef int jint; |
never@1445 | 44 | typedef signed char jbyte; |
never@1445 | 45 | |
never@1445 | 46 | #ifdef _LP64 |
never@1445 | 47 | typedef long jlong; |
never@1445 | 48 | #else |
never@1445 | 49 | typedef long long jlong; |
never@1445 | 50 | #endif |