jni.cc (_Jv_JNI_RegisterNatives): Conditionalize body on `INTERPRETER'.
* jni.cc (_Jv_JNI_RegisterNatives): Conditionalize body on `INTERPRETER'. From-SVN: r32156
This commit is contained in:
parent
9c236404ba
commit
ac52f669c5
@ -1,3 +1,8 @@
|
||||
2000-02-25 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* jni.cc (_Jv_JNI_RegisterNatives): Conditionalize body on
|
||||
`INTERPRETER'.
|
||||
|
||||
2000-02-25 Bryce McKinlay <bryce@albatross.co.nz>
|
||||
|
||||
* java/net/URLConnection.java (initializeDateFormats): New
|
||||
|
@ -1263,6 +1263,7 @@ _Jv_JNI_RegisterNatives (JNIEnv *env, jclass k,
|
||||
const JNINativeMethod *methods,
|
||||
jint nMethods)
|
||||
{
|
||||
#ifdef INTERPRETER
|
||||
// For now, this only matters for interpreted methods. FIXME.
|
||||
if (! _Jv_IsInterpretedClass (k))
|
||||
{
|
||||
@ -1307,6 +1308,9 @@ _Jv_JNI_RegisterNatives (JNIEnv *env, jclass k,
|
||||
}
|
||||
|
||||
return JNI_OK;
|
||||
#else /* INTERPRETER */
|
||||
return JNI_ERR;
|
||||
#endif /* INTERPRETER */
|
||||
}
|
||||
|
||||
static jint
|
||||
|
Loading…
Reference in New Issue
Block a user