diff --git a/libjava/jvmti.cc b/libjava/jvmti.cc index e9fa0a22927..716e96ae682 100644 --- a/libjava/jvmti.cc +++ b/libjava/jvmti.cc @@ -1113,7 +1113,7 @@ _Jv_JVMTI_GetArgumentsSize (jvmtiEnv *env, jmethodID method, jint *size) else if (sig[i] == 'J' || sig[i] == 'D') { // If this is an array of wide types it uses a single slot - if (i > 0 && sig[i-1] == '[') + if (i > 0 && sig[i - 1] == '[') num_slots++; else num_slots += 2;