From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30996 invoked by alias); 24 Jun 2008 17:34:34 -0000 Received: (qmail 30983 invoked by uid 22791); 24 Jun 2008 17:34:33 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 24 Jun 2008 17:34:16 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m5OHY6KA004174; Tue, 24 Jun 2008 13:34:06 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m5OHY5Uo025854; Tue, 24 Jun 2008 13:34:05 -0400 Received: from opsy.redhat.com (vpn-10-44.bos.redhat.com [10.16.10.44]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m5OHY55c004678; Tue, 24 Jun 2008 13:34:05 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id DFA05888116; Tue, 24 Jun 2008 11:34:04 -0600 (MDT) To: GNU Classpath Patches CC: GCJ-patches Subject: Patch: FYI: fix PR 32198 From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom Date: Tue, 24 Jun 2008 17:34:00 -0000 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact java-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-patches-owner@gcc.gnu.org X-SW-Source: 2008-q2/txt/msg00050.txt.bz2 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 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;