Vincent,
can you state which minimum MacOSX, Ubuntu, and Windows version this means?
I know 10.6 is out and I've been challenged for this since XWiki moved
to Java7 already but that's past (my solution was, then, to not upgrade
my wiki).
It'd be interesting to know the coming limitations.
paul
vincent(a)massol.net <mailto:vincent@massol.net>
9 February 2016 at 16:11
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.h…]
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
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs