I *definitely* say no... I know in my shop, we're going to be stuck with
JDK 1.4 for nearly another year because of Websphere, so it would keep
me from moving up the Struts 1.x ladder (although, we're still on 1.2.8
I believe, so we're back a ways regardless).
My feeling is that S1 should pretty much always stay on 1.4... I think
with the large installed base, and many in shops that haven't and don't
plan to bump to JDK 1.5, the 1.x track should remain accessible to them.
I'd like to see the JDK line be S1 vs. S2... those that are stuck on
1.4 for whatever reason know that the 1.x track is for them, those on
1.5+ can choose either track.
Frank
Paul Benedict wrote:
I didn't unilaterally decide to use JDK 1.5 features. No worries. This is
just an oversight, but what bugs me is that the Maven compiler (at least on
my side) didn't set the right compiler version and catch the error. Bummer.
Anyway, AFAIK, 1.4 is still a JDK 1.4 project. But since Frank tried this
out, I guess we should ask if 1.5 should be used or not? At the moment, I
say no. Thoughts?
Paul
On Dec 5, 2007 7:14 AM, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
Niall Pemberton wrote:
Looks like core uses JDK 1.5 features - for example the
IllegalStateException constructors which take a "Throwable" cause were
only added in JDK 1.5:
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html
I don't remember agreeing to move to JDK 1.5 (from JDK 1.4) for the
next Struts (1.4) version - but perhaps we did?
I had a feeling that might have been the case, but I too don't remember
even discussion of requiring 1.5 at any point so I figured I must be
wrong.
And I can confirm that switching to java5 works, got a successful build
now... actually, I have java6 installed so I used that, but I assume
java5 would work too.
Frank
Niall
Frank
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author of "Practical Ajax Projects With Java Technology"
(2006, Apress, ISBN 1-59059-695-1)
and "JavaScript, DOM Scripting and Ajax Projects"
(2007, Apress, ISBN 1-59059-816-4)
Java Web Parts - http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.14/1171 - Release Date: 12/4/2007 7:31 PM
--
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author of "Practical Ajax Projects With Java Technology"
(2006, Apress, ISBN 1-59059-695-1)
and "JavaScript, DOM Scripting and Ajax Projects"
(2007, Apress, ISBN 1-59059-816-4)
Java Web Parts - http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]