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: empty declaration deprecated


On Tue, Jul 10, 2001 at 08:59:36AM -0700, Alexandre Petit-Bianco wrote:
> 
> Andrew Pimlott writes:
> 
> > From what I can find (mainly, the bug report gcj/295), this warning
> > is supposed to be about semicolons after inner classes.  The JLS
> > second edition says nothing bad about empty statements, so I hope
> > this is a mistake.
> > 
> > The code I actually care about is something like
> > 
> >     for (i=0; i<arr.length && arr[i] == null; i++) ;
> 
> As your example showed, the patch could use a little more discernment.
> Can you file a PR?

This is now PR 3635.  Thanks.

Andrew


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