diff options
author | Tom Tromey <tromey@redhat.com> | 2004-09-28 21:55:26 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2004-09-28 21:55:26 +0000 |
commit | 252d78843b30f364b18cf7c9771147195e32e2b4 (patch) | |
tree | 40bfd5309e9e8b124cbba14efec822a959db42b8 /libjava | |
parent | ea77e738038687830313955979daa746dceb6d7a (diff) | |
download | gcc-252d78843b30f364b18cf7c9771147195e32e2b4.zip gcc-252d78843b30f364b18cf7c9771147195e32e2b4.tar.gz gcc-252d78843b30f364b18cf7c9771147195e32e2b4.tar.bz2 |
* jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
From-SVN: r88255
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 2 | ||||
-rw-r--r-- | libjava/jni.cc | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 9a2df00..3ab7800 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,7 @@ 2004-09-28 Tom Tromey <tromey@redhat.com> + * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets. + PR libgcj/17222: * Makefile.am (libgcj.la): Restored. * Makefile.in: Rebuilt. diff --git a/libjava/jni.cc b/libjava/jni.cc index 7943fe0..e9e557a 100644 --- a/libjava/jni.cc +++ b/libjava/jni.cc @@ -1883,8 +1883,7 @@ _Jv_JNI_RegisterNatives (JNIEnv *env, jclass klass, if (! strcmp (self->name->chars (), methods[j].name) && ! strcmp (self->signature->chars (), methods[j].signature)) { - if (! (self->accflags - & java::lang::reflect::Modifier::NATIVE)) + if (! (self->accflags & java::lang::reflect::Modifier::NATIVE)) break; // Found a match that is native. @@ -1900,7 +1899,7 @@ _Jv_JNI_RegisterNatives (JNIEnv *env, jclass klass, jstring m = JvNewStringUTF (methods[j].name); try { - env->ex =new java::lang::NoSuchMethodError (m); + env->ex = new java::lang::NoSuchMethodError (m); } catch (jthrowable t) { |