DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9461>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9461

Can't compile due to errors





------- Additional Comments From [EMAIL PROTECTED]  2002-05-28 19:31 -------
This bug should be marked invalid - or made an enhancement (assuming that 
Struts 1.02 needs to support jdk 1.4) 

Alternatively it may be changed to become an enhancement to documentation to 
indicate this as an incompatibility to jdk 1.4.

The problem is that the user is atempting to compile with j2se 1.4.

The java.sql.Connection interface has had a new method added since 1.4: 
setHoldability(int) . (pls see
http://java.sun.com/j2se/1.4/docs/api/java/sql/Connection.html
). As a result, GenericConnection.java no longer correctly implements 
java.sql.Connection.

To resolve this, use the appropriate version jdk. The proposed solution below 
will break at run-time, though it may correctly for compilation.

The jdk requirements for Struts 1.02 are: "Java2 (version 1.2 or later)" from 
the readme in the version of the code I have (Feb 10, 2002). If
anything, the readme file should be updated to reflect incompatibility with JDK 
1.4 in org.apache.struts.util.GenericConnection.java.

Again, this bug is INVALID. Pls use JDK 1.3.1 or some other jdk prior to 1.4

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to