src/jdk.jdwp.agent/share/native/libjdwp/MethodImpl.c
author phh
Sat, 30 Nov 2019 14:33:05 -0800
changeset 59330 5b96c12f909d
parent 47216 71c04702a3d5
permissions -rw-r--r--
8234541: C1 emits an empty message when it inlines successfully Summary: Use "inline" as the message when successfull Reviewed-by: thartmann, mdoerr Contributed-by: navy.xliu@gmail.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     2
 * Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    23
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
#include "util.h"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
#include "MethodImpl.h"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
#include "inStream.h"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
#include "outStream.h"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
static jboolean
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
lineTable(PacketInputStream *in, PacketOutputStream *out)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
{
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
    jvmtiError error;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
    jint count = 0;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
    jvmtiLineNumberEntry *table = NULL;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
    jmethodID method;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
    jlocation firstCodeIndex;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
    jlocation lastCodeIndex;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
    jboolean isNative;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
    /* JVMDI needed the class, but JVMTI does not so we ignore it */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
    (void)inStream_readClassRef(getEnv(), in);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
    if (inStream_error(in)) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
        return JNI_TRUE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
    method = inStream_readMethodID(in);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
    if (inStream_error(in)) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
        return JNI_TRUE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
    /*
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
     * JVMTI behavior for the calls below is unspecified for native
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
     * methods, so we must check explicitly.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
    isNative = isMethodNative(method);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
    if (isNative) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
        outStream_setError(out, JDWP_ERROR(NATIVE_METHOD));
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
        return JNI_TRUE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
    error = methodLocation(method, &firstCodeIndex, &lastCodeIndex);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
    if (error != JVMTI_ERROR_NONE) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
        outStream_setError(out, map2jdwpError(error));
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
        return JNI_TRUE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
    (void)outStream_writeLocation(out, firstCodeIndex);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
    (void)outStream_writeLocation(out, lastCodeIndex);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
    error = JVMTI_FUNC_PTR(gdata->jvmti,GetLineNumberTable)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
                (gdata->jvmti, method, &count, &table);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
    if (error == JVMTI_ERROR_ABSENT_INFORMATION) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
        /*
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
         * Indicate no line info with an empty table. The code indices
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
         * are still useful, so we don't want to return an error
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
         */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
        (void)outStream_writeInt(out, 0);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
    } else if (error == JVMTI_ERROR_NONE) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
        jint i;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
        (void)outStream_writeInt(out, count);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
        for (i = 0; (i < count) && !outStream_error(out); i++) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
            (void)outStream_writeLocation(out, table[i].start_location);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
            (void)outStream_writeInt(out, table[i].line_number);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
        jvmtiDeallocate(table);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
    } else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
        outStream_setError(out, map2jdwpError(error));
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
    return JNI_TRUE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
static jboolean
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
doVariableTable(PacketInputStream *in, PacketOutputStream *out,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
                int outputGenerics)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
{
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
    jvmtiError error;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
    jint count;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
    jvmtiLocalVariableEntry *table;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
    jmethodID method;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
    jint argsSize;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
    jboolean isNative;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
    /* JVMDI needed the class, but JVMTI does not so we ignore it */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
    (void)inStream_readClassRef(getEnv(), in);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
    if (inStream_error(in)) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
        return JNI_TRUE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
    method = inStream_readMethodID(in);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
    if (inStream_error(in)) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
        return JNI_TRUE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
    /*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
     * JVMTI behavior for the calls below is unspecified for native
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
     * methods, so we must check explicitly.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
    isNative = isMethodNative(method);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
    if (isNative) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
        outStream_setError(out, JDWP_ERROR(NATIVE_METHOD));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
        return JNI_TRUE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
    error = JVMTI_FUNC_PTR(gdata->jvmti,GetArgumentsSize)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
                (gdata->jvmti, method, &argsSize);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
    if (error != JVMTI_ERROR_NONE) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
        outStream_setError(out, map2jdwpError(error));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
        return JNI_TRUE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
    error = JVMTI_FUNC_PTR(gdata->jvmti,GetLocalVariableTable)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
                (gdata->jvmti, method, &count, &table);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
    if (error == JVMTI_ERROR_NONE) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
        jint i;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
        (void)outStream_writeInt(out, argsSize);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
        (void)outStream_writeInt(out, count);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
        for (i = 0; (i < count) && !outStream_error(out); i++) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
            jvmtiLocalVariableEntry *entry = &table[i];
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
            (void)outStream_writeLocation(out, entry->start_location);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
            (void)outStream_writeString(out, entry->name);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
            (void)outStream_writeString(out, entry->signature);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
            if (outputGenerics == 1) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
                writeGenericSignature(out, entry->generic_signature);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
            (void)outStream_writeInt(out, entry->length);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
            (void)outStream_writeInt(out, entry->slot);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
            jvmtiDeallocate(entry->name);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
            jvmtiDeallocate(entry->signature);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
            if (entry->generic_signature != NULL) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
              jvmtiDeallocate(entry->generic_signature);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
        jvmtiDeallocate(table);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
    } else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
        outStream_setError(out, map2jdwpError(error));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
    return JNI_TRUE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
static jboolean
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
variableTable(PacketInputStream *in, PacketOutputStream *out) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
    return doVariableTable(in, out, 0);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
static jboolean
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
variableTableWithGenerics(PacketInputStream *in, PacketOutputStream *out) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
    return doVariableTable(in, out, 1);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
static jboolean
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
bytecodes(PacketInputStream *in, PacketOutputStream *out)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
{
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
    jvmtiError error;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
    unsigned char * bcp;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
    jint bytecodeCount;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
    jmethodID method;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
    /* JVMDI needed the class, but JVMTI does not so we ignore it */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
    (void)inStream_readClassRef(getEnv(), in);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
    if (inStream_error(in)) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
        return JNI_TRUE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
    method = inStream_readMethodID(in);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
    if (inStream_error(in)) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
        return JNI_TRUE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
    /* Initialize assuming no bytecodes and no error */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
    error         = JVMTI_ERROR_NONE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
    bytecodeCount = 0;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
    bcp           = NULL;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
    /* Only non-native methods have bytecodes, don't even ask if native. */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
    if ( !isMethodNative(method) ) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
        error = JVMTI_FUNC_PTR(gdata->jvmti,GetBytecodes)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
                    (gdata->jvmti, method, &bytecodeCount, &bcp);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
    if (error != JVMTI_ERROR_NONE) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
        outStream_setError(out, map2jdwpError(error));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
    } else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
        (void)outStream_writeByteArray(out, bytecodeCount, (jbyte *)bcp);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
        jvmtiDeallocate(bcp);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
    return JNI_TRUE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
static jboolean
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
isObsolete(PacketInputStream *in, PacketOutputStream *out)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
{
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
    jboolean isObsolete;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
    jmethodID method;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
    /* JVMDI needed the class, but JVMTI does not so we ignore it */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
    (void)inStream_readClassRef(getEnv(), in);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
    if (inStream_error(in)) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
        return JNI_TRUE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
    method = inStream_readMethodID(in);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
    if (inStream_error(in)) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
        return JNI_TRUE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
    isObsolete = isMethodObsolete(method);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
    (void)outStream_writeBoolean(out, isObsolete);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
    return JNI_TRUE;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
void *Method_Cmds[] = { (void *)0x5
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
    ,(void *)lineTable
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
    ,(void *)variableTable
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
    ,(void *)bytecodes
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
    ,(void *)isObsolete
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
    ,(void *)variableTableWithGenerics
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
};