Bug 558332 - Rip out ant remote execution code targeted for java 1.6 into own module
Summary: Rip out ant remote execution code targeted for java 1.6 into own module
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 4.14   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Ant-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-15 05:36 EST by Carsten Hammer CLA
Modified: 2019-12-15 12:17 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Hammer CLA 2019-12-15 05:36:21 EST
We have a number of bugs where parts (not all) of the problems would not have been possible when the code for java 1.6 compatibility would have its own project with clear java 1.6 compliance settings. Currently within one project parts of the code need to be java 1.8 and part of it java 1.6 compatible while the project settings are java 1.8. 

https://git.eclipse.org/c/platform/eclipse.platform.git/tree/ant/org.eclipse.ant.launching/.settings/org.eclipse.jdt.core.prefs?id=faa77f958bca6aa3ca2c281d508acf0710be9032

see 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=558324
https://bugs.eclipse.org/bugs/show_bug.cgi?id=495617
https://bugs.eclipse.org/bugs/show_bug.cgi?id=553514
https://bugs.eclipse.org/bugs/show_bug.cgi?id=558330

In the long run I wonder if it would be possible to provide a solution with separate jars for different BREEs and a automatic switch so that we can use latest features and still update the code for use with latest java versions. Or there is a completely different long term solution? At least to have a java 1.6 dependency and code that needs to conform to java 1.6 as part of eclipse looks highly suspicious. What if someday this code cannot be run with latest java versions at all?
Here a link to the story that you find as well in one of the bugs:
http://blog.sibvisions.com/2015/09/25/eclipse-mars-with-ant-and-jre-6-story/