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] > >