You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Ke...@sunlife.com on 2002/05/28 20:59:00 UTC

re: [Bug 9461] - Can't compile due to errors - INVALID



This bug should be marked invalid - or made an enhancement to
documentation.

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


I attempted to add this feedback to bugzilla but have no account to login. Is there some "guest" account I should know about?

FWIW-
Kevin





bugzilla@apache.org on 05/28/2002 01:02:56 PM

Please respond to "Struts Developers List" <st...@jakarta.apache.org>

To:   struts-dev@jakarta.apache.org
cc:    (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:  DO NOT REPLY [Bug 9461]  -     Can't compile due to errors


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 cmaroney@tfsi.textron.com  2002-05-28
17:02 -------
setting this class to abstract solves the problem of not compiling.

i don't know if this breaks it at runtime though.  I presume it doesn't.

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org
>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org
>







---------------------------------------------------------------------------
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---------------------------------------------------------------------------


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>