Re: [ALL] source compatibility - changes to throws clauses

2011-04-03 Thread Henri Yandell
On Sat, Apr 2, 2011 at 6:44 AM, sebb wrote: > On 1 April 2011 02:53, Phil Steitz wrote: >> On 3/31/11 6:30 PM, sebb wrote: >>> Just discovered that Clirr does not complain if the throws clause of a >>> method or constructor is changed to add a new Exception. >>> Seemed like a bug at first, but it

Re: [ALL] source compatibility - changes to throws clauses

2011-04-02 Thread sebb
On 1 April 2011 02:53, Phil Steitz wrote: > On 3/31/11 6:30 PM, sebb wrote: >> Just discovered that Clirr does not complain if the throws clause of a >> method or constructor is changed to add a new Exception. >> Seemed like a bug at first, but it's not, because throws clauses are >> only checked

Re: [ALL] source compatibility - changes to throws clauses

2011-03-31 Thread Phil Steitz
On 3/31/11 6:30 PM, sebb wrote: > Just discovered that Clirr does not complain if the throws clause of a > method or constructor is changed to add a new Exception. > Seemed like a bug at first, but it's not, because throws clauses are > only checked at compile-time. > > So e.g. adding "throws IOExc