You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jim Rudnicki <jd...@pacbell.net> on 2000/07/03 08:21:38 UTC
Small bug: All these little "};"s
In a vain attempt, I was just using Forte to try to debug 3.2b1.
Alas, there seem to be many dangling semicolons like the one below from
org.apache.jasper.compiler.CommandLineCompiler.java
public boolean isOutDated() {
return true;
};
That last semicolon is an "empty member declaration" as far as the Forte's
ide compiler is concerned. They create a sea of warnings that stop the
compile. There are _many_ of them--a quick search pulled up over 100.
Jasper is widely infected, but other packages show it. I would guess that
someone's tool is creating these.
Well, Sun says they ain't part of the language spec, so they probably gotta
go, but it's not trivial because a few "};" are valid. More important the
source of these needs to be rooted out, or they will keep spreading.
How's that for trivia,
Jim
Re: Small bug: All these little "};"s
Posted by Geoff Soutter <ge...@whitewolf.com.au>.
> In a vain attempt, I was just using Forte to try to debug 3.2b1.
> Alas, there seem to be many dangling semicolons like the one below from
> org.apache.jasper.compiler.CommandLineCompiler.java
>
> public boolean isOutDated() {
> return true;
> };
M$ Visual J++ complains about this kind of thing as well...
geoff