+1 2016-02-09 16:13 GMT+01:00 Ecaterina Moraru (Valica) <[email protected]>:
> +1 > > Thanks, > Caty > > On Tue, Feb 9, 2016 at 5:11 PM, [email protected] <[email protected]> > wrote: > > > Hi devs, > > > > I’d like to propose that we move to Java 8 as the minimal Java version > > supported for XWiki 8.0+. > > > > The rationale is: > > > > * Java 7 is end of life since April 2015. > > * It brings [Default Methods| > > https://docs.oracle.com/javase/tutorial/java/IandI/defaultmethods.html] > > which would make retro compatibility a lot easier for us (it's very hard > to > > add new features to existing API right now). > > * Required for: > > ** Infinispan 8 > > ** JGroups 4 > > ** Jetty 9.3+ seems to require Java 8 (or maybe it's just optimized for > > it, http://download.eclipse.org/jetty/ is not crystal clear about what > > "Java 8+" means exactly) > > > > Nice to have > > * Lambda Expressions > > * Repeating Annotations which would probably allow us to use several > times > > \@Named instead of \@Component(hints=\{"hint1", "hint2"\}) for example > > * New date/time APIs (pretty much what is in Joda Time). We should > > refactor our $datetool velocity tool to make the java.time api available > > from velocity > > * more… > > > > See http://jira.xwiki.org/browse/XCOMMONS-878 > > > > Here’s my +1 and my +1 to start requiring Java 8 for 8.0M2. > > > > Thanks > > -Vincent > > > > _______________________________________________ > > devs mailing list > > [email protected] > > http://lists.xwiki.org/mailman/listinfo/devs > > > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > -- Guillaume Delhumeau ([email protected]) Research & Development Engineer at XWiki SAS Committer on the XWiki.org project _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

