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
This commit is contained in:
Tom Tromey 2008-06-24 18:31:49 +00:00 committed by Tom Tromey
parent 324ed5a676
commit 2e10f49b85
3 changed files with 10 additions and 2 deletions

View 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:

View 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;