public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: GNU Classpath Patches <classpath-patches@gnu.org>
Cc: GCJ-patches <java-patches@gcc.gnu.org>
Subject: Patch: FYI: fix PR 32198
Date: Tue, 24 Jun 2008 17:34:00 -0000	[thread overview]
Message-ID: <m31w2mvisz.fsf@fleche.redhat.com> (raw)

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;

                 reply	other threads:[~2008-06-24 17:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m31w2mvisz.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=classpath-patches@gnu.org \
    --cc=java-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).