Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Joint CDT and Multicore debug conf call minutes

Java 7 will still be an official supported JRE for the Platform in Mars. I’m not sure we want to go alone on that, or do it on this short of notice.

I’m all for going wild in Mars + 1 (N???), making it 9.0 and making our APIs lambda friendly (there are are a bunch that are not), and adopting Java 8 features in our plug-ins. That’ll give the community time to prepare.

Doug.

From: Marc-André Laperle <marc-andre.laperle@xxxxxxxxxxxx>
Reply-To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Date: Monday, February 9, 2015 at 2:49 PM
To: "cdt-dev@xxxxxxxxxxx" <cdt-dev@xxxxxxxxxxx>
Subject: Re: [cdt-dev] Joint CDT and Multicore debug conf call minutes

Sorry I should have explained more what I meant. For example, we don't have to replace some public API methods so that they use lambdas. We keep the APIs as is but internally we can use lambdas (private methods, internal packages, etc). Same for the Java 8 Date & Time. I didn't mean that we should necessarily take advantage of the default methods to prevent API breakage.

Marc-André

On 2015-02-09 01:00 PM, Marc Dumais wrote:
+1

For those who have not followed the news about Java 8, Marc-Andre I think refers-to the new "default methods" feature. Using this, we should be able to add new methods to interfaces, without breaking API: 

http://docs.oracle.com/javase/tutorial/java/IandI/defaultmethods.html



On 02/09/2015 11:27 AM, Marc-André Laperle wrote:

On 2015-02-09 10:09 AM, Marc Khouzam wrote:
As for Java 8, does making the switch require API breakage?  If we modify existing code to take advantage of java 8's nice features, yes, that could break API, but do we have enough time to make all the changes we'd want to?  Or will we want to continue those changes for the next major release after Mars (requiring a 10.0 version)?


I think it would be worth switching to Java 8 without breaking the API. We wouldn't be able to Java8-ify the APIs but there is a lot that can be done internally. Also, the "End of Public Updates" for Java 7 is April 2015.
http://www.oracle.com/technetwork/java/eol-135779.html

Marc-André

--

 

 

 

line

MARC DUMAIS
Software developer


Ericsson
8500 Decarie
Ville Mount-Royal, Qc, Canada
Phone 514 345-7900 x45006
marc.dumais@xxxxxxxxxxxx
www.ericsson.com



http://www.ericsson.com/current_campaign

 



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

Back to the top