equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2015, 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. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
61 #include <CoreFoundation/CoreFoundation.h> |
61 #include <CoreFoundation/CoreFoundation.h> |
62 |
62 |
63 #include "jni_util.h" |
63 #include "jni_util.h" |
64 #include "jlong.h" |
64 #include "jlong.h" |
65 #include "jvm.h" |
65 #include "jvm.h" |
|
66 |
|
67 /* |
|
68 * Declare library specific JNI_Onload entry if static build |
|
69 */ |
|
70 DEF_STATIC_JNI_OnLoad |
66 |
71 |
67 |
72 |
68 // Throw an OutOfMemoryError with the given message. |
73 // Throw an OutOfMemoryError with the given message. |
69 static void throwOutOfMemoryError(JNIEnv *env, const char *msg) |
74 static void throwOutOfMemoryError(JNIEnv *env, const char *msg) |
70 { |
75 { |