This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: java/5365: gcjh -stubs does not include correct files
- From: Tom Tromey <tromey at redhat dot com>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 16 Jan 2002 21:16:05 -0000
- Subject: Re: java/5365: gcjh -stubs does not include correct files
- Reply-to: Tom Tromey <tromey at redhat dot com>
The following reply was made to PR java/5365; it has been noted by GNATS.
From: Tom Tromey <tromey@redhat.com>
To: nicholas allen <nicholas.allen@ireland.sun.com>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/5365: gcjh -stubs does not include correct files
Date: 16 Jan 2002 14:26:46 -0700
>>>>> "Nicholas" == nicholas allen <nicholas.allen@ireland.sun.com> writes:
Nicholas> I like the idea of thowing an exception (say
Nicholas> java.lang.UnsupportedOperationException("Method not
Nicholas> implemented yet")). I know this would require include the
Nicholas> header file for the exception but this can always be deleted
Nicholas> and causes no harm if left in.
I agree. I'm making this change.
Nicholas> It would also be nice if gcjh -stubs didn't generate a stub
Nicholas> file if there were no native methods in the class file.
This would be nice but it is hard to implement given the current
code. Feel free to submit another PR for this if you like. Please
make it low priority.
Nicholas> Another idea would be too ask (or warn) the user if a file
Nicholas> already exists before overwiting it with the stub file. This
Nicholas> would prevent loosing implementations that have already been
Nicholas> written by mistake.
This would also be nice, and it worth another low priority PR... or a
patch.
Thanks,
Tom