From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10042 invoked by alias); 10 Jun 2011 09:39:08 -0000 Received: (qmail 10033 invoked by uid 22791); 10 Jun 2011 09:39:07 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from edge10.ethz.ch (HELO edge10.ethz.ch) (82.130.75.186) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Jun 2011 09:38:44 +0000 Received: from CAS11.d.ethz.ch (172.31.38.211) by edge10.ethz.ch (82.130.75.186) with Microsoft SMTP Server (TLS) id 14.1.289.1; Fri, 10 Jun 2011 11:38:40 +0200 Received: from [129.132.50.22] (129.132.50.22) by mail.ethz.ch (172.31.38.211) with Microsoft SMTP Server (TLS) id 14.1.289.1; Fri, 10 Jun 2011 11:38:42 +0200 Message-ID: <4DF1E63C.8000103@student.ethz.ch> Date: Fri, 10 Jun 2011 09:39:00 -0000 From: Noah Heusser User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: Subject: Re: Add a Field to java.lang.Object References: <4DEFAF45.8080709@student.ethz.ch> <4DEFBFEA.7090706@redhat.com> In-Reply-To: <4DEFBFEA.7090706@redhat.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg00014.txt.bz2 Sorry that it took me so long to verify your Answer. I must have fucked something up with other chances I made to the code. But I tried it on a "virgin" Version of gcc-4.5.2 and there it worked. > Add it to libjava/java/langObject.h > and gcc/java/class.c in make_class_data() after sync_info. It is also necessary to update the gcc/java/decl.c in Function java_init_decl_processing. The Position is easy to find, it is the only occurrence of sync_info. I just added my PUSH_FIELD after the sync_info PUSH_FIELD. Thanks for your Help!