summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-06-24 17:36:06 +0000
committerTom Tromey <tromey@redhat.com>2008-06-24 17:36:06 +0000
commit87b860d9a0fec9c1ff5777fb3b55433607725617 (patch)
tree591c38bf060bca5a20a6c8462ab157fd99cfd61a
parentd40155b93283c0da209b9ba3bc4b178fabc0c140 (diff)
downloadclasspath-87b860d9a0fec9c1ff5777fb3b55433607725617.tar.gz
PR libgcj/32198:
* tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java (compile): Reverse isAssignableFrom test.
-rw-r--r--ChangeLog6
-rw-r--r--tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ab0cc81b..7c8c59c0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-06-24 Tom Tromey <tromey@redhat.com>
+
+ PR libgcj/32198:
+ * tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java
+ (compile): Reverse isAssignableFrom test.
+
2008-06-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/36219:
diff --git a/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java b/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java
index c441dea48..335480840 100644
--- a/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java
+++ b/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java
@@ -1,5 +1,5 @@
/* SourceGiopRmicCompiler -- Central GIOP-based RMI stub and tie compiler class.
- Copyright (C) 2006 Free Software Foundation
+ Copyright (C) 2006, 2008 Free Software Foundation
This file is part of GNU Classpath.
@@ -292,7 +292,7 @@ public class SourceGiopRmicCompiler
for (int j = 0; j < exc.length; j++)
{
- if (RemoteException.class.isAssignableFrom(exc[j]))
+ if (exc[j].isAssignableFrom(RemoteException.class))
{
remEx = true;
break;