tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Abtract methods in DelegatingResultSet
Date Tue, 19 Jun 2012 09:22:16 GMT
On 19/06/2012 06:07, Olivier Lefevre wrote:
> I just noticed that the DelegatingResultSet object handed by Tomcat
> sports a slew of abstract methods even though the class itself is
> not declared abstract. In Tomcat 7.0.x there are only 2 such methods:
> the two getObject methods taking a Class as second argument, which are
> also the only two methods marked as 1.7 level in the Javadocs, but for
> Tomcat 6.0.x there are lots of them, including the isClosed method, all
> of them marked 1.6 level AFAICT.
> 
> This seems very wrong, esp. the fact the DelegatingResultSet class is
> not marked as abstract. I have attached a test servlet that demonstrates
> the behaviour: install it and call http://localhost:8080/test1/get
> (or whatever is your Tomcat server location). I tested against 6.0.30
> and 7.0.27. Can somebody comment?

Compare the definition of the ResultSet interface in the version of the
JDK the class was compiled with with the definition in the version of
the JDK you are running with.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message