From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29778 invoked by alias); 16 Jan 2002 00:26:04 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 29728 invoked by uid 71); 16 Jan 2002 00:26:03 -0000 Date: Tue, 15 Jan 2002 16:26:00 -0000 Message-ID: <20020116002602.29726.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Tom Tromey Subject: Re: java/5365: gcjh -stubs does not include correct files Reply-To: Tom Tromey X-SW-Source: 2002-01/txt/msg00578.txt.bz2 List-Id: The following reply was made to PR java/5365; it has been noted by GNATS. From: Tom Tromey To: nallen@freenet.co.uk Cc: gcc-gnats@gcc.gnu.org Subject: Re: java/5365: gcjh -stubs does not include correct files Date: 15 Jan 2002 17:39:27 -0700 >>>>> "Nicholas" == nallen writes: Nicholas> When gcjh -stubs is used the stubs file generates the wrong Nicholas> include statements. For example, if you use gcjh -stubs on Nicholas> java.lang.Object it generates a java/lang/Object.cc and a Nicholas> java/lang/Object.h file which includes the header file using Nicholas> #include . The correct include should be Nicholas> #include . It also does not include the Nicholas> gcj/cni.h file. I agree this is a bug. I've written a fix which I'll check in shortly. When I generate the stub file I do see an include for . I was unable to reproduce this part of the PR. Nicholas> The stub functions also have JvFail in them and I can't find Nicholas> any references to this function in gcj/cni.h. I agree this is less than perfect. However, I don't think we want to export this JvFail. We could make each stub throw a new exception, but that would mean including some exception header file (which in theory users would not actually be using). What do you think? Tom