annotate src/java.base/share/native/libjava/ConstantPool.c @ 17286:65464a307408

Added tag jdk-9+181 for changeset bd66ea2fdde3
author prr
date Thu, 03 Aug 2017 18:56:59 +0000
parents d78919a39b77
children
rev   line source
duke@0 1 /*
kshefov@13591 2 * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
duke@0 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@0 4 *
duke@0 5 * This code is free software; you can redistribute it and/or modify it
duke@0 6 * under the terms of the GNU General Public License version 2 only, as
ohair@2362 7 * published by the Free Software Foundation. Oracle designates this
duke@0 8 * particular file as subject to the "Classpath" exception as provided
ohair@2362 9 * by Oracle in the LICENSE file that accompanied this code.
duke@0 10 *
duke@0 11 * This code is distributed in the hope that it will be useful, but WITHOUT
duke@0 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@0 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@0 14 * version 2 for more details (a copy is included in the LICENSE file that
duke@0 15 * accompanied this code).
duke@0 16 *
duke@0 17 * You should have received a copy of the GNU General Public License version
duke@0 18 * 2 along with this work; if not, write to the Free Software Foundation,
duke@0 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@0 20 *
ohair@2362 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@2362 22 * or visit www.oracle.com if you need additional information or have any
ohair@2362 23 * questions.
duke@0 24 */
duke@0 25
duke@0 26 #include "jvm.h"
chegar@14176 27 #include "jdk_internal_reflect_ConstantPool.h"
duke@0 28
chegar@14176 29 JNIEXPORT jint JNICALL Java_jdk_internal_reflect_ConstantPool_getSize0
duke@0 30 (JNIEnv *env, jobject unused, jobject jcpool)
duke@0 31 {
duke@0 32 return JVM_ConstantPoolGetSize(env, unused, jcpool);
duke@0 33 }
duke@0 34
chegar@14176 35 JNIEXPORT jclass JNICALL Java_jdk_internal_reflect_ConstantPool_getClassAt0
duke@0 36 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 37 {
duke@0 38 return JVM_ConstantPoolGetClassAt(env, unused, jcpool, index);
duke@0 39 }
duke@0 40
chegar@14176 41 JNIEXPORT jclass JNICALL Java_jdk_internal_reflect_ConstantPool_getClassAtIfLoaded0
duke@0 42 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 43 {
duke@0 44 return JVM_ConstantPoolGetClassAtIfLoaded(env, unused, jcpool, index);
duke@0 45 }
duke@0 46
chegar@14176 47 JNIEXPORT jint JNICALL Java_jdk_internal_reflect_ConstantPool_getClassRefIndexAt0
kshefov@13591 48 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
kshefov@13591 49 {
kshefov@13591 50 return JVM_ConstantPoolGetClassRefIndexAt(env, unused, jcpool, index);
kshefov@13591 51 }
kshefov@13591 52
chegar@14176 53 JNIEXPORT jobject JNICALL Java_jdk_internal_reflect_ConstantPool_getMethodAt0
duke@0 54 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 55 {
duke@0 56 return JVM_ConstantPoolGetMethodAt(env, unused, jcpool, index);
duke@0 57 }
duke@0 58
chegar@14176 59 JNIEXPORT jobject JNICALL Java_jdk_internal_reflect_ConstantPool_getMethodAtIfLoaded0
duke@0 60 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 61 {
duke@0 62 return JVM_ConstantPoolGetMethodAtIfLoaded(env, unused, jcpool, index);
duke@0 63 }
duke@0 64
chegar@14176 65 JNIEXPORT jobject JNICALL Java_jdk_internal_reflect_ConstantPool_getFieldAt0
duke@0 66 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 67 {
duke@0 68 return JVM_ConstantPoolGetFieldAt(env, unused, jcpool, index);
duke@0 69 }
duke@0 70
chegar@14176 71 JNIEXPORT jobject JNICALL Java_jdk_internal_reflect_ConstantPool_getFieldAtIfLoaded0
duke@0 72 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 73 {
duke@0 74 return JVM_ConstantPoolGetFieldAtIfLoaded(env, unused, jcpool, index);
duke@0 75 }
duke@0 76
chegar@14176 77 JNIEXPORT jobjectArray JNICALL Java_jdk_internal_reflect_ConstantPool_getMemberRefInfoAt0
duke@0 78 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 79 {
duke@0 80 return JVM_ConstantPoolGetMemberRefInfoAt(env, unused, jcpool, index);
duke@0 81 }
duke@0 82
chegar@14176 83 JNIEXPORT jint JNICALL Java_jdk_internal_reflect_ConstantPool_getNameAndTypeRefIndexAt0
kshefov@13591 84 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
kshefov@13591 85 {
kshefov@13591 86 return JVM_ConstantPoolGetNameAndTypeRefIndexAt(env, unused, jcpool, index);
kshefov@13591 87 }
kshefov@13591 88
chegar@14176 89 JNIEXPORT jobjectArray JNICALL Java_jdk_internal_reflect_ConstantPool_getNameAndTypeRefInfoAt0
kshefov@13591 90 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
kshefov@13591 91 {
kshefov@13591 92 return JVM_ConstantPoolGetNameAndTypeRefInfoAt(env, unused, jcpool, index);
kshefov@13591 93 }
kshefov@13591 94
chegar@14176 95 JNIEXPORT jint JNICALL Java_jdk_internal_reflect_ConstantPool_getIntAt0
duke@0 96 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 97 {
duke@0 98 return JVM_ConstantPoolGetIntAt(env, unused, jcpool, index);
duke@0 99 }
duke@0 100
chegar@14176 101 JNIEXPORT jlong JNICALL Java_jdk_internal_reflect_ConstantPool_getLongAt0
duke@0 102 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 103 {
duke@0 104 return JVM_ConstantPoolGetLongAt(env, unused, jcpool, index);
duke@0 105 }
duke@0 106
chegar@14176 107 JNIEXPORT jfloat JNICALL Java_jdk_internal_reflect_ConstantPool_getFloatAt0
duke@0 108 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 109 {
duke@0 110 return JVM_ConstantPoolGetFloatAt(env, unused, jcpool, index);
duke@0 111 }
duke@0 112
chegar@14176 113 JNIEXPORT jdouble JNICALL Java_jdk_internal_reflect_ConstantPool_getDoubleAt0
duke@0 114 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 115 {
duke@0 116 return JVM_ConstantPoolGetDoubleAt(env, unused, jcpool, index);
duke@0 117 }
duke@0 118
chegar@14176 119 JNIEXPORT jstring JNICALL Java_jdk_internal_reflect_ConstantPool_getStringAt0
duke@0 120 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 121 {
duke@0 122 return JVM_ConstantPoolGetStringAt(env, unused, jcpool, index);
duke@0 123 }
duke@0 124
chegar@14176 125 JNIEXPORT jstring JNICALL Java_jdk_internal_reflect_ConstantPool_getUTF8At0
duke@0 126 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
duke@0 127 {
duke@0 128 return JVM_ConstantPoolGetUTF8At(env, unused, jcpool, index);
duke@0 129 }
kshefov@13591 130
chegar@14176 131 JNIEXPORT jbyte JNICALL Java_jdk_internal_reflect_ConstantPool_getTagAt0
kshefov@13591 132 (JNIEnv *env, jobject unused, jobject jcpool, jint index)
kshefov@13591 133 {
kshefov@13591 134 return JVM_ConstantPoolGetTagAt(env, unused, jcpool, index);
kshefov@13591 135 }
kshefov@13591 136