You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Julian Reschke <ju...@gmx.de> on 2016/09/20 06:41:41 UTC
Re: Minimum JDK version
On 2016-09-12 14:09, Marcel Reutegger wrote:
> Hi,
>
> On 12/09/16 13:14, Chetan Mehrotra wrote:
>> I think Marcel created OAK-4791 for the same. So that should take care
>> of enforcing this constraing
>
> Indeed. For trunk I just enabled the check against the 1.7 signature.
>
> I will backport the plugin configuration to the branches and change
> the version to 1.6 if possible. Otherwise we do it once 1.7 usages
> are removed on the branches.
>
> Regards
> Marcel
Hi there,
we just has a mishap over in Oak with respect to code using Java runtime
methods it wasn't supposed to use (JDK7), and concluded that we want to
check that at build time.
Marcel added build checks using the animal-sniffer plugin (see OAK-4791).
I'd like to do the equivalent for Jackrabbit, checking for JDK6
compliance in all branches for now. See
https://issues.apache.org/jira/browse/JCR-4025 - feedback appreciated.
Best regards, Julian
PS: we can discuss *which* JDK to require separately afterwards.