Commit 2e10f49b by Tom Tromey Committed by Tom Tromey

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
parent 324ed5a6
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> 2008-04-17 Tom Tromey <tromey@redhat.com>
PR libgcj/35950: PR libgcj/35950:
......
/* SourceGiopRmicCompiler -- Central GIOP-based RMI stub and tie compiler class. /* 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. This file is part of GNU Classpath.
...@@ -292,7 +292,7 @@ public class SourceGiopRmicCompiler ...@@ -292,7 +292,7 @@ public class SourceGiopRmicCompiler
for (int j = 0; j < exc.length; j++) for (int j = 0; j < exc.length; j++)
{ {
if (RemoteException.class.isAssignableFrom(exc[j])) if (exc[j].isAssignableFrom(RemoteException.class))
{ {
remEx = true; remEx = true;
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment