From 2e10f49b85847a8b38f64a64ccc7fad6adf89f74 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 24 Jun 2008 18:31:49 +0000 Subject: [PATCH] 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(-) diff --git a/libjava/classpath/ChangeLog.gcj b/libjava/classpath/ChangeLog.gcj index 093b2fbe0e4..7dc67d27884 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 b9ff1214614987c9ce875d3d918d2bc2d490b6af..810ce356a038f9d64520ac398c23034a3a161214 100644 GIT binary patch delta 21 ccmeyL@IPULgaU^orzp3PFr&t11%-G408udo!2kdN delta 21 ccmeyL@IPULgaU^!qlP4>D7VpO1%-G408s%2!2kdN diff --git a/libjava/classpath/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java b/libjava/classpath/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java index e9b7bff0b7e..a889492f9b8 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; -- 2.30.2