From: Tom Tromey Date: Tue, 24 Jun 2008 18:31:49 +0000 (+0000) Subject: re PR libgcj/32198 (rmic fails if remote method throws superclass of RemoteException) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e10f49b85847a8b38f64a64ccc7fad6adf89f74;p=gcc.git 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 --- 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 b9ff1214614..810ce356a03 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 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;