This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Question about purge_unchecked_exceptions
- To: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- Subject: Question about purge_unchecked_exceptions
- From: Tom Tromey <tromey at redhat dot com>
- Date: 23 Aug 2001 17:10:49 -0600
- Cc: Java Discuss List <java at gcc dot gnu dot org>
- Reply-To: tromey at redhat dot com
I'm working on a patch to add reflection data for the `throws' clause
of a method declaration.
gcj removes some of this information, in purge_unchecked_exceptions.
javac doesn't appear to do this. For instance, gcj removes the
information that Byte.valueOf(String) throws NumberFormatException,
because that is an unchecked exception.
Is this "ok"? I looked a bit but couldn't find any info in the
various references about what a Java compiler is supposed to do here.
Tom