From 2e10f49b85847a8b38f64a64ccc7fad6adf89f74 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 24 Jun 2008 18:31:49 +0000 Subject: re PR libgcj/32198 (rmic fails if remote method throws superclass of RemoteException) PR libgcj/32198: * tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java (compile): Reverse isAssignableFrom test. * tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.class: Rebuilt. From-SVN: r137084 --- libjava/classpath/ChangeLog.gcj | 8 ++++++++ .../tools/rmic/SourceGiopRmicCompiler.class | Bin 12415 -> 12415 bytes .../tools/rmic/SourceGiopRmicCompiler.java | 4 ++-- 3 files changed, 10 insertions(+), 2 deletions(-) (limited to 'libjava') diff --git a/libjava/classpath/ChangeLog.gcj b/libjava/classpath/ChangeLog.gcj index 093b2fb..7dc67d2 100644 --- a/libjava/classpath/ChangeLog.gcj +++ b/libjava/classpath/ChangeLog.gcj @@ -1,3 +1,11 @@ +2008-06-24 Tom Tromey + + PR libgcj/32198: + * tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java + (compile): Reverse isAssignableFrom test. + * tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.class: + Rebuilt. + 2008-04-17 Tom Tromey PR libgcj/35950: diff --git a/libjava/classpath/tools/classes/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.class b/libjava/classpath/tools/classes/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.class index b9ff121..810ce35 100644 Binary files a/libjava/classpath/tools/classes/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.class and b/libjava/classpath/tools/classes/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.class differ diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java b/libjava/classpath/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java index e9b7bff..a889492 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java +++ b/libjava/classpath/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.1