java/5365: gcjh -stubs does not include correct files
Tom Tromey
tromey@redhat.com
Wed Jan 16 13:16:00 GMT 2002
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
More information about the Gcc-prs
mailing list