Bug 43147 - Tomcat source does not compile with javac 1.6.0_01
Summary: Tomcat source does not compile with javac 1.6.0_01
Status: RESOLVED INVALID
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 6.0.14
Hardware: PC Solaris
: P2 normal (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-16 12:10 UTC by Patrick ALe
Modified: 2008-04-30 15:47 UTC (History)
0 users



Attachments
Compile log (33.33 KB, text/plain)
2007-08-16 12:11 UTC, Patrick ALe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick ALe 2007-08-16 12:10:58 UTC
The Tomcat 6.0.14 does not compile when using javac 1.6.0_01.
When JDK 1.5.0_12 is installed and used for compiling, binaries can be produced.

This is on Solaris_11 (Opensolaris) x86.
Comment 1 Patrick ALe 2007-08-16 12:11:59 UTC
Created attachment 20670 [details]
Compile log

This is the output of 'ant > /tmp/compile.log'
Comment 2 Mark Thomas 2008-04-30 15:47:09 UTC
This is a 'feature' of using commons-DBCP. The issue is being tracked at https://issues.apache.org/jira/browse/DBCP-191

Essentially, the problem is caused by the JDBC API in the JDK not being backwards compatible.

The workaround we are using for now is to build with 1.5

I am marking this as invalid since the fix needs to be in the DBCP source.