]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libgcj/32198 (rmic fails if remote method throws superclass of RemoteException)
authorTom Tromey <tromey@redhat.com>
Tue, 24 Jun 2008 18:31:49 +0000 (18:31 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 24 Jun 2008 18:31:49 +0000 (18:31 +0000)
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
libjava/classpath/tools/classes/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.class
libjava/classpath/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java

index 093b2fbe0e47f32cf7b4656a68f7a24ffcfae2ce..7dc67d278848d4cbee45772b3d9775f3def70bb6 100644 (file)
@@ -1,3 +1,11 @@
+2008-06-24  Tom Tromey  <tromey@redhat.com>
+
+       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  <tromey@redhat.com>
 
        PR libgcj/35950:
index b9ff1214614987c9ce875d3d918d2bc2d490b6af..810ce356a038f9d64520ac398c23034a3a161214 100644 (file)
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
index e9b7bff0b7e4b423e16fae18bdad7c6c83413a04..a889492f9b8d87b79a04256ae38eb47bd3e930d6 100644 (file)
@@ -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;