This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Question about purge_unchecked_exceptions



Tom Tromey writes:

> 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.

It's a matter of convenience. We remove unchecked exception so that we
don't have to take them into consideration (see JLS2.0 11.2.1 and
11.2.2)

If we have to take them into consideration, we can either keep the
list intact and add the tests where relevant to skip unchecked
exception or keep the original list intact somewhere and use it when
required.

What would be the most convenient for what you're working on?

./A


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]