[Bug java/20302] Problem with sub classes with contructors with exceptions

tromey at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 30 05:21:00 GMT 2005


------- Additional Comments From tromey at gcc dot gnu dot org  2005-06-30 05:21 -------
Note that Test2.java actually is invalid code.
Unlike anonymous constructors, implicit constructors are
not given any special treatment when it comes to 'throws'
clauses.

Test.java is valid code and should not be rejected.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-30 05:21:01
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20302



More information about the Gcc-bugs mailing list