Bug 495701 - Move to Java 8 as minimum BREE
Summary: Move to Java 8 as minimum BREE
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P4 normal (vote)
Target Milestone: 5.0.0   Edit
Assignee: Pierre-Charles David CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy, triaged
Depends on:
Blocks:
 
Reported: 2016-06-08 11:13 EDT by Pierre-Charles David CLA
Modified: 2017-06-29 03:31 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Charles David CLA 2016-06-08 11:13:25 EDT
Currently Sirius targets Java 1.7, which is already relatively old. As a very first step towards moving to Java 8 (which will not happen until we've dropped support for Mars), we'll require Java 8 for the test APIs and test code itself. 

By itself, it should have zero impact on actual usage (as nothing in the Sirius platform itself will change), and relatively small impact on consumers. The only ones I can see is that we will now need a Java 8 runtime to build and run our tests (this include the Sirius HIPP, our internal CI server, maybe other downstream projects' servers too).

Once we've made the switch on the BREEs of the impacted plug-ins, we'll be able to start using more modern Java idioms in our test APIs and test code, and get enough familiarity about lambda, streams, and other recent language features so that we'll have more experience when we finally switch Sirius itself to Java 8.
Comment 1 Pierre-Charles David CLA 2017-01-24 10:43:09 EST
We'll move directly to Java 8 for the whole codebase. Sirius 5.0 will drop support for Mars, and Neon already requires Java 8 or later. There's no point aymore to stay compatible with Java 7.
Comment 2 Eclipse Genie CLA 2017-01-31 11:59:04 EST
New Gerrit change created: https://git.eclipse.org/r/89989
Comment 4 Pierre-Charles David CLA 2017-02-07 09:20:30 EST
Done.
Comment 5 Eclipse Genie CLA 2017-02-16 09:29:56 EST
New Gerrit change created: https://git.eclipse.org/r/91289
Comment 7 Pierre-Charles David CLA 2017-05-17 04:01:14 EDT
Verified on the sources.
Comment 8 Pierre-Charles David CLA 2017-06-29 03:31:32 EDT
Available in Sirius 5.0.0, see https://wiki.eclipse.org/Sirius/5.0.0 for details.