Sounds good. On Sat, Jun 4, 2011 at 11:33 PM, Maurizio Cucchiara < maurizio.cucchi...@gmail.com> wrote:
> In order to avoid further problems, I'm going to change Jenkins > settings, such that it uses 1.5 compiler. > Any objections? > > On 5 June 2011 01:39, Jason Pyeron <jpye...@pdinc.us> wrote: > >> -----Original Message----- > >> From: Dave Newton [mailto:davelnew...@gmail.com] > >> Sent: Saturday, June 04, 2011 19:27 > >> To: Struts Developers List > >> Subject: Re: Struts2/XWork Java 5 or 6? > >> > >> Marking interface methods w/ @Override is 1.6 (haven't > >> checked the OP's code reference though). > > > > Good catch, yes it is on an interface defined method. Patch at > > https://issues.apache.org/jira/browse/WW-3643. > > > > Sorry about that. I will add 1.5 to my testing from now on. > > > >> > >> Dave > >> > >> On Sat, Jun 4, 2011 at 7:15 PM, Jason Pyeron <jpye...@pdinc.us> wrote: > >> >> -----Original Message----- > >> >> From: Steven Benitez > >> >> Sent: Saturday, June 04, 2011 15:07 > >> >> To: Struts Developers List > >> >> Subject: Struts2/XWork Java 5 or 6? > >> >> > >> >> It looks like DefaultActionProxy (in XWork) was changed on > >> >> 5/22 to add the following code: > >> >> > >> >> > >> >> @Override > >> >> public boolean isMethodSpecified() > >> >> { > >> >> return methodSpecified; > >> >> } > >> >> > >> >> This method overrides an interface method and the use of the > >> >> @Override for interface methods is Java 6 only. Isn't the > >> > > >> > Nope, 1.5 > >> > > >> > > >> http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Override.ht > >> > ml > >> > > >> >> Struts2/XWork codebase still 1.5? > >> >> > > > > -- > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > - - > > - Jason Pyeron PD Inc. http://www.pdinc.us - > > - Principal Consultant 10 West 24th Street #100 - > > - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - > > - - > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > This message is copyright PD Inc, subject to license 20080407P00. > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > > For additional commands, e-mail: dev-h...@struts.apache.org > > > > > > > > -- > Maurizio Cucchiara > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > >