From 87b860d9a0fec9c1ff5777fb3b55433607725617 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 24 Jun 2008 17:36:06 +0000 Subject: PR libgcj/32198: * tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java (compile): Reverse isAssignableFrom test. --- ChangeLog | 6 ++++++ tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java | 4 ++-- 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 + + PR libgcj/32198: + * tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java + (compile): Reverse isAssignableFrom test. + 2008-06-23 Andrew John Hughes 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; -- cgit v1.2.1