This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 383907 - change minimum required JRE to 1.6
Summary: change minimum required JRE to 1.6
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.9   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
: 398088 398092 398093 (view as bug list)
Depends on: 405316
Blocks: 404949
  Show dependency tree
 
Reported: 2012-06-29 09:49 EDT by Alvaro Sanchez-Leon CLA
Modified: 2013-04-10 18:40 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro Sanchez-Leon CLA 2012-06-29 09:49:19 EDT
Most of Mylyn components are designed to run using JRE 1.5 or later,  however there are few limitations starting to show up e.g. The Mylyn Gerrit connector runs on 1.6 and later, and R4E faces some limitations with an Orbit bundle [1].

Since J2SE reached end of life in 2008, 

These task is created to capture this discussion 

See initial input at:
http://dev.eclipse.org/mhonarc/lists/mylyn-dev/msg01688.html
Comment 1 Steffen Pingel CLA 2013-01-14 11:55:39 EST
*** Bug 398092 has been marked as a duplicate of this bug. ***
Comment 2 Steffen Pingel CLA 2013-01-14 11:56:22 EST
Remove javax.xml.soap bundle from distribution since packages are provided by the 1.6 JRE.
Comment 3 Steffen Pingel CLA 2013-01-14 12:08:27 EST
*** Bug 398088 has been marked as a duplicate of this bug. ***
Comment 4 Steffen Pingel CLA 2013-01-14 12:08:52 EST
Remove javax.xml.bind which is part of the 1.6 JRE.
Comment 5 Steffen Pingel CLA 2013-01-18 06:35:20 EST
*** Bug 398093 has been marked as a duplicate of this bug. ***
Comment 6 Krzysztof Daniel CLA 2013-03-11 12:44:59 EDT
Is there any progress on that? 
I could say there was no negative vote ;-).

If there's no objections, I could provide some patches and change required vm to 1.6 only where required.
Comment 7 Steffen Pingel CLA 2013-03-11 14:38:24 EDT
I'm eager to do this and have raised this again. Let's discuss during Wednesday's meeting and go ahead with the change if there are no concerns indeed.
Comment 8 Krzysztof Daniel CLA 2013-03-28 06:27:53 EDT
Hi Steffen,
any news?
Comment 9 Steffen Pingel CLA 2013-03-31 12:05:10 EDT
Didn't get around to it, yet, but still planning to do this asap.
Comment 10 Steffen Pingel CLA 2013-03-31 13:27:41 EDT
Commands for updating bundles:

pre. 
find -name .classpath -print0 | xargs -0 sed -i -e 's%org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5%org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6%'
find -name org.eclipse.jdt.core.prefs -print0 | xargs -0 sed -i -e 's%org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5%org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6%' -e 's%org.eclipse.jdt.core.compiler.compliance=1.5%org.eclipse.jdt.core.compiler.compliance=1.6%'
find -name MANIFEST.MF -print0 | xargs -0 sed -i -e 's%Bundle-RequiredExecutionEnvironment: J2SE-1.5%Bundle-RequiredExecutionEnvironment: JavaSE-1.6%'
Comment 12 Steffen Pingel CLA 2013-04-04 16:03:17 EDT
And here is the change for org.eclipse.mylyn.builds which I missed:

https://git.eclipse.org/r/#/c/11657/
Comment 13 Steffen Pingel CLA 2013-04-04 16:30:30 EDT
The relevant reviews have been merged and the project plan was updated. I have opened bug 404949 to track removal of obsolete bundles.
Comment 14 Miles Parker CLA 2013-04-04 17:38:37 EDT
Merged Steffen's changes for MFT:

https://git.eclipse.org/r/#/c/11578/
Comment 15 Steffen Pingel CLA 2013-04-10 18:19:20 EDT
Looks like I missed to run this command which resulted in warnings on build.properties files:

pre. 
find -name org.eclipse.jdt.core.prefs -print0 | xargs -0 sed -i -e 's%org.eclipse.jdt.core.compiler.source=1.5%org.eclipse.jdt.core.compiler.source=1.6%'
Comment 16 Steffen Pingel CLA 2013-04-10 18:40:35 EDT
Fixed in all repositories. Review for MFT is here: https://git.eclipse.org/r/11793.