Bug 424052 - Switch BREE to Java 6
Summary: Switch BREE to Java 6
Status: NEW
Alias: None
Product: QVTo
Classification: Modeling
Component: Engine (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-14 09:42 EST by Sergey Boyko CLA
Modified: 2014-08-07 12:29 EDT (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 Sergey Boyko CLA 2013-12-14 09:42:22 EST
For Luna M2 the Equinox framework switched to Java 1.6 as BREE (and compiled using Java 6), e.g. the plugin org.eclipse.osgi.
Equinox core announcement:
http://wiki.eclipse.org/Equinox/Luna_Framework#Requirement_on_Java_6
Equinox tracking bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=416432

Eclipse platform starting from version 4.3 is targeted JDK 1.6 (http://www.eclipse.org/projects/project-plan.php?projectid=eclipse#target_environments). 

QVTo Hudson build configuration for Luna stream utilizes JDK 1.6 for builds. 

As consequence:
- it's not correct to claim compatibility with JDK version which is not used for building/testing
- Java 6 provides some language improvements (like @Override annotation) that makes sense to utilize

Migration process should be done for each plug-in separately. Also generification warnings should be fixed during migration.
Comment 1 Adolfo Sanchez-Barbudo Herrera CLA 2014-08-07 12:29:04 EDT
Hi Sergey,

If we are compiling with java 1.6, what you propose makes sense to me.

For your information, I've pushed to master the increment to my experimental (non built) plugins:

org.eclipse.qvto.examples.pivot.*
org.eclipse.qvto.examples.xtext.*

Cheers,
Adolfo.