public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Patch: FYI: fix PR 32198
@ 2008-06-24 17:34 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2008-06-24 17:34 UTC (permalink / raw)
  To: GNU Classpath Patches; +Cc: GCJ-patches

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  <tromey@redhat.com>

	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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-24 17:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-24 17:34 Patch: FYI: fix PR 32198 Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).