commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <>
Subject Re: [math] minimum compatible version of javac for Commons Math
Date Wed, 03 Feb 2016 22:36:30 GMT
On 2/3/16 3:30 PM, Семенов Кирилл wrote:
> Hello, everyone!
> I'm new to Commons Math dev community.
> Getting used to the project, deeping into the code, looking at Jira tasks
> for now. And I'm wondering: what is the minimum version of javac, that code
> must be compatible with?
> There is a
> ,
> mentioning:
> ArtifactId commons-math3 Version 3.6 Type jar Java Version 1.5

This means version 3.6 works for 1.5+

> and , saying that
>    1. Limited dependencies. No external dependencies beyond Commons
>    components and the core Java platform (at least Java 1.3 up to version 1.2
>    of the library, at least Java 5 starting with version 2.0 of the library).
> And as for pom.xml in git repo, it is
> <maven.compiler.source>1.7</maven.compiler.source>
> <>1.7</>

This means that current 4.0 sources require 1.7+
> and
> <!-- TODO: when releasing 4.0, the properties below need to be updated, and
>          the 3.x release artifacts need to be put int commons.release.3  -->
> And I don't find anything about java version of commons-math4 (mainly,
> because it is not released yet).  IMHO, these Function<X,Y> syntax and
> functional interfaces are just made for math. Also, on one hand, Oracle
> already dropped jdk7 support. On the other, some people may be eager to use
> all the new features of 4th version, but have to stay on some 1.6-1.7 jdk
> (not more then a guess).
> Anyway, these are just my thoughts and, maybe, there is already a final
> verdict of community on minimum java/javac compatibility for commons-math4.
> If there is some agreement among developers, document or release notes, I'd
> be happy to get that info/have a look.

Currently, 4.x targets 1.7+ but that may change.  Until the software
is actually released, the community can decide on changes to APIs
and / or JDK levels.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message