diff options
author | Bryce McKinlay <mckinlay@redhat.com> | 2005-07-07 14:34:53 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2005-07-07 15:34:53 +0100 |
commit | ca12deb43edfb4a855ee2ca1f804836da1fb5336 (patch) | |
tree | 1c18a770e3b496c37eb199d56bcba0fed43cf098 /libjava/testsuite/libjava.jacks | |
parent | b52110d478b71ec2e1f099b3c1b539228a9bdaea (diff) | |
download | gcc-ca12deb43edfb4a855ee2ca1f804836da1fb5336.zip gcc-ca12deb43edfb4a855ee2ca1f804836da1fb5336.tar.gz gcc-ca12deb43edfb4a855ee2ca1f804836da1fb5336.tar.bz2 |
re PR java/21045 (Anonymous inner class constructor's exceptions can't be caught or thrown)
2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
PR java/21045
* parse.y (add_exception_to_throws): New function.
(purge_unchecked_exceptions): Removed.
(get_constructor_super): Renamed from verify_constructor_super. Now
returns the super constructor after verification.
(java_complete_expand_method): Don't use purge_unchecked_exceptions
or save/restore the exception list.
(check_thrown_exceptions): Add uncaught exceptions in anonymous
class initializers and constructors to the throws clause of the
method.
2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
* testsuite/libjava.compile/PR21045.java: New test.
* testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
From-SVN: r101713
Diffstat (limited to 'libjava/testsuite/libjava.jacks')
-rw-r--r-- | libjava/testsuite/libjava.jacks/jacks.xfail | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libjava/testsuite/libjava.jacks/jacks.xfail b/libjava/testsuite/libjava.jacks/jacks.xfail index b8ac229..68af018 100644 --- a/libjava/testsuite/libjava.jacks/jacks.xfail +++ b/libjava/testsuite/libjava.jacks/jacks.xfail @@ -347,8 +347,6 @@ 15.9.4-runtime-creation-1 15.9.4-runtime-creation-2 15.9.4-runtime-creation-5 -15.9.5.1-exception-1 -15.9.5.1-exception-3 15.9.5.1-exception-4 15.9.5.1-superconstructor-7 15.9.5.1-superconstructor-8 @@ -563,8 +561,6 @@ 8.3.1.2-final-29 8.3.2-abrupt-3 8.3.2-abrupt-5 -8.3.2-abrupt-6 -8.3.2-abrupt-7 8.3.2.2-super-2 8.3.2.3-illegal-forward-instance-1 8.3.2.3-illegal-forward-instance-2 |