re GNATS gcj/12 (gcj accepts invalid code where an exception must be caught/thrown)
authorAlexandre Petit-Bianco <apbianco@cygnus.com>
Tue, 20 Jul 1999 20:56:10 +0000 (20:56 +0000)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Tue, 20 Jul 1999 20:56:10 +0000 (13:56 -0700)
commit7705e9db01267c127d2b9f9a33b5218546898ef6
tree5ca1ceb178214a9ef4598a10e5149aadc81751b4
parent33551dfec5a986d6e042dc61c4517af4e75fd76e
re GNATS gcj/12 (gcj accepts invalid code where an exception must be caught/thrown)

Tue Jul 20 13:20:05 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (resolve_and_layout): Check methods only once.
        (resolve_qualified_expression_name): Verify thrown exceptions
        compatibility.
        (check_thrown_exceptions): Reject exceptions thrown in
        initializer. Error message tuned.

(This fixes PR #12. Libgcj's java/net must be updated in order to compiles
 with a patch at this URL:
 http://sourceware.cygnus.com/ml/java-patches/1999-q3/msg00048.html)

From-SVN: r28196
gcc/java/ChangeLog
gcc/java/parse.c
gcc/java/parse.y