Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 475590

Summary: Update org.eclipse.text to Java 7
Product: [Eclipse Project] Platform Reporter: Thomas Schindl <tom.schindl>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 4.6   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
See Also: https://git.eclipse.org/r/54422
https://git.eclipse.org/r/54423
Whiteboard:

Description Thomas Schindl CLA 2015-08-21 09:46:24 EDT
As the rest of the platform is moving to Java8 - Eclipse-Text is still at Java 1.4 which makes it hard to contribute.

The plan would be:
* Update the EE to Java8
* Introduce generics in the code internals (API will stay *without* generics)

No plan:
* Generify the API (this could be done in a potential next other bugzilla)

Work plan:
* The rework will be done in multiple gerrit reviews (one per package)
Comment 1 Eclipse Genie CLA 2015-08-21 09:49:10 EDT
New Gerrit change created: https://git.eclipse.org/r/54305
Comment 2 Eclipse Genie CLA 2015-08-24 05:40:40 EDT
New Gerrit change created: https://git.eclipse.org/r/54386
Comment 3 Eclipse Genie CLA 2015-08-24 05:46:15 EDT
New Gerrit change created: https://git.eclipse.org/r/54388
Comment 4 Eclipse Genie CLA 2015-08-24 05:47:17 EDT
New Gerrit change created: https://git.eclipse.org/r/54389
Comment 5 Eclipse Genie CLA 2015-08-24 05:47:49 EDT
New Gerrit change created: https://git.eclipse.org/r/54390
Comment 6 Eclipse Genie CLA 2015-08-24 05:48:10 EDT
New Gerrit change created: https://git.eclipse.org/r/54391
Comment 7 Eclipse Genie CLA 2015-08-24 05:48:42 EDT
New Gerrit change created: https://git.eclipse.org/r/54392
Comment 8 Thomas Schindl CLA 2015-08-24 05:51:44 EDT
(In reply to Eclipse Genie from comment #6)
> New Gerrit change created: https://git.eclipse.org/r/54391

A small comment: In ProjectionDocumentManager I changed the code and made the instanceof check to an != null one
Comment 9 Thomas Schindl CLA 2015-08-24 10:03:23 EDT
*** Bug 475713 has been marked as a duplicate of this bug. ***
Comment 10 Thomas Schindl CLA 2015-08-24 10:35:10 EDT
Ok - this does not work out I'll start from scratch
Comment 11 Eclipse Genie CLA 2015-08-24 11:37:34 EDT
New Gerrit change created: https://git.eclipse.org/r/54422
Comment 12 Eclipse Genie CLA 2015-08-24 11:45:59 EDT
New Gerrit change created: https://git.eclipse.org/r/54423
Comment 13 Thomas Schindl CLA 2015-08-24 11:46:50 EDT
(In reply to Eclipse Genie from comment #12)
> New Gerrit change created: https://git.eclipse.org/r/54423

Notice the change in LinkedPositionGroup#handleEvent who now uses 2 distinct maps
Comment 14 Dani Megert CLA 2015-12-16 07:24:32 EST

*** This bug has been marked as a duplicate of bug 478673 ***