I'm checking this in to Classpath and libgcj.
This fixes PR 32198. rmic had an inverted isAssignableFrom test.
Tom
ChangeLog:
2008-06-24 Tom Tromey <[EMAIL PROTECTED]>
PR libgcj/32198:
* tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java
(compile): Reverse isAssignableFrom test.
Index: tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java
===================================================================
RCS file:
/cvsroot/classpath/classpath/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,v
retrieving revision 1.2
diff -u -r1.2 SourceGiopRmicCompiler.java
--- tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java 7 May 2008
01:45:45 -0000 1.2
+++ tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java 24 Jun 2008
16:51:27 -0000
@@ -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 @@
for (int j = 0; j < exc.length; j++)
{
- if (RemoteException.class.isAssignableFrom(exc[j]))
+ if (exc[j].isAssignableFrom(RemoteException.class))
{
remEx = true;
break;