On 07/26/2017 12:38 PM, Emmanuel Lécharny wrote:
> Hi guys,
>
>
> recently, some changes in Studio makes it require Java 8 :
>
>
> + // Handle referral
> + Consumer<ReferralHandlingData> consumer =
> referralHandlingData -> {
> + referralHandlingData.connectionWrapper.modifyEntry(
> referralHandlingData.referralDn,
> + modificationItems, controls, monitor,
> referralHandlingData.newReferralsInfo );
> + };
>
> (http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java?view=diff&r1=1782685&r2=1782686&pathrev=1782686)
>
> This was done in february 2017.
And discussed before :)
https://lists.apache.org/thread.html/5ad90d5026418fe05ca7685842f7ff0605878f4e9c7819a0a68379c6@%3Cdev.directory.apache.org%3E
> I'm all ok with using Java 8 and lambda, it makes the code way easier to
> read, but we need to make it clear that the next version of Studio is going
> to use Java 8
> (currently, we support java 7).
>
> I think we might also want to move to Java 8 for teh API and ApacheDS? bt
> that is another discussion to have>
> So I just want to state this fact : Studio *is* going to use Java 8 starting
> from 2.0.0-M13.
And "documented" in https://issues.apache.org/jira/browse/DIRSTUDIO-1137
Kind Regards,
Stefan