From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30072 invoked by alias); 30 May 2007 17:42:58 -0000 Received: (qmail 30060 invoked by uid 22791); 30 May 2007 17:42:58 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 30 May 2007 17:42:55 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.1/8.13.1) with ESMTP id l4UHgqak002359 for ; Wed, 30 May 2007 13:42:52 -0400 Received: from zebedee.littlepinkcloud.COM (vpn-14-13.rdu.redhat.com [10.11.14.13]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l4UHgn6u002354; Wed, 30 May 2007 13:42:49 -0400 Received: from littlepinkcloud.COM (localhost.localdomain [127.0.0.1]) by zebedee.littlepinkcloud.COM (8.13.8/8.13.5) with ESMTP id l4UHgllQ013782; Wed, 30 May 2007 18:42:47 +0100 Received: (from aph@localhost) by littlepinkcloud.COM (8.13.8/8.13.5/Submit) id l4UHgkj1013779; Wed, 30 May 2007 18:42:46 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18013.46998.246181.128792@zebedee.pink> Date: Wed, 30 May 2007 17:44:00 -0000 From: Andrew Haley To: David Daney Cc: tromey@redhat.com, java-patches@gcc.gnu.org Subject: Re: Eww: Modifier.INTERPRETED overload In-Reply-To: <465DB4AF.1040804@avtrex.com> References: <18013.40545.855887.550863@zebedee.pink> <465DB4AF.1040804@avtrex.com> X-Mailer: VM 7.19 under Emacs 22.0.93.1 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: 2007-q2/txt/msg00258.txt.bz2 David Daney writes: > Tom Tromey wrote: > >>>>>> "Andrew" == Andrew Haley writes: > > > > Andrew> This should, perhaps, ring an alarm bell. Way back when this code was > > Andrew> written, classes weren't marked synthetic, but they are now! > > Andrew> So, any compiled class that is marked as SYNTHETIC is treated as > > Andrew> INTERPRETED by libgcj. Bad Things Happen. > > > > I'm sure this is my fault but I don't remember what I was thinking. > > > > Andrew> We really need to find another way of marking classes as interpreted, > > > > Yeah. > > It's probably obvious, but why can't the value of the constant be changed? Maybe, but access_flags is a u2, and there aren't many bits left. 0x80, perhaps? It's used for VARARGS at the moment. Andrew.