Op Thu, 05 Mar 2015 14:16:24 +0100 schreef Igor Fedorenko <[email protected]>:

This is chicken-and-egg situation. We won't use java 7 features unless
the code targets java 7.

Try-with-resources and multi-exception catch are the too features I'd
like to start using throughout the code. Although not "critical" per se,
I think they make writing correct maintainable code noticeably easier.

Improvements to standard library, nio in particular, is another big
reason for me. For example, Files#walkFileTree is significantly faster
than comparable File-based implementation on large source trees. Knowing
the core is on java 7 will allow us use that in plexus-utils for example.

IIUC Kristian already made it possible in plexus-utils to pick up these java7 NIO features when using that JRE version.

Besides, java 7 is EOL'ed by Oracle next month. Yes, many organizations
still use java 6 (and java 5), but the same organizations are not likely
to move to use latest maven features any time soon either.

I think last time the trigger wasn't the EOL of JDK6 but the availability of JDK8 which made us move forward.
So in this case: once JDK9 is available for all, we could move forward.


--
Regards,
Igor


Let me add another link: https://gradle.org/docs/current/userguide/installation.html This doesn't have to be an issue, but I can imagine that new users will first of all select a tool which matches their JDK. There are plenty of reasons why to choose for one or the other. First of all I'd like to approach this from a user perspective, not "because we can", otherwise we should use the latest JDK ASAP.

If we do indeed get that remarkable performance improvement, then that would be a good reason to move to JDK7 for me.

Robert

On 2015-03-05 7:59, Robert Scholte wrote:
I don't know the numbers, but I think JDK6 is still used a lot by the
community.
Current code builds fine with JDK6.
Which JDK7 specific features do you want to use, which are not possible
with the current codebase?
Without any critical codechanges I'd go for -1.

Robert

Op Thu, 05 Mar 2015 13:19:11 +0100 schreef Igor Fedorenko
<[email protected]>:

With maven core version change to 3.3.0 on master, any objections I
change compile source/target to java 7?

--
Regards,
Igor

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to