Geotools doesn't compile with Java 6
------------------------------------
Key: GEOT-1150
URL: http://jira.codehaus.org/browse/GEOT-1150
Project: GeoTools
Issue Type: Task
Components: admin
Affects Versions: 2.4.M0
Reporter: Martin Desruisseaux
Assigned To: Jody Garnett
Fix For: 2.4.0
Geotools trunk doesn't compile with Java 6. There is two issues:
* In module {{modules/library/jdbc}}, the class
{{org.geotools.data.jdbc.MockPooledConnection}} implements the interface
{{javax.sql.PooledConnection}}. This interface has two new methods in Java 6:
{{addStatementEventListener}} and {{removeStatementEventListener}}. Those two
methods expect a {{javax.sql.StatementEventListener}} argument, which is a new
interface in Java 6. Consequently, we can not just add empty skeleton for those
interfaces in Java 1.4.
* In module {{unsupported/tile}}, the class
{{org.geotools.tile.nasa.WorldWindTileStratagyOnlineTest}} uses
{{sun.rmi.runtime.GetThreadPoolAction}}, which is a Sun proprietary API not
available anymore in Java 6 (at least on Linux).
In both case, the issues appear in the tests rather than the main source code.
We could workaround the issue by commenting out the tests.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel