Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-ocl.dev] Probable move to Java 7 classes for Eclipse OCL in Mars

Hi

The move to Java 7 was not so easy. [1] There are 7 smelly templated operation such as OCL.newInstance that cannot be compiled as-is by Java 7. Changing the code so that the source matches the Java 5 erased signature probably gives binary compatibility but introduces a source incompatibility that probably affects nobody.

However a source incompatibility is not desirable, so for now (so long as EMF manages to remain with a Java 5 BREE) the Classic OCL plugins remain unchanged at Java 5 BREE. The Pivot OCL plugins have moved to Java 7 BREE.

Since the Java 7 pack200 cannot pack all Java 5 bundles [2], org.eclipse.ocl will be distributed without a *.pack.gz. [3]

    Regards

        Ed Willink

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=464193
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=463131
[3] https://bugs.eclipse.org/bugs/show_bug.cgi?id=464434

On 02/04/2015 17:40, Sergey Boyko wrote:
Hi Ed,

I also inclined to move to Java 7 for QVTo plug-ins.  And I see no reasons to ask OCL not to move to Java 7.


Regards,
  Sergey.


On Thu, Apr 2, 2015 at 9:59 AM, Ed Willink <ed@xxxxxxxxxxxxx> wrote:
Hi

Some of the Eclipse platform plugins moved to Java 7 classes for Mars M6 and this is causing problems continuing to provide Java 5 (Classic Eclipse OCL) or Java 6 (Pivot Eclipse OCL) plugins. See [1].

The simple solution is to just shift all Eclipse OCL plugins to Java 7 classes.

An alternative is to omit the 'tampered' *.pack.gz files for Mars, and re-introduce them after Mars when the Eclipse OCL build may move to Tycho from Buckminster.

Does anyone have a use case for not moving to Java 7 and so removing all support for Java 5 and Java 6?

(And while I'm asking, does anyone have a problem moving to Java 8 for Mars+1?)

    Regards

        Ed Willink

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=463131
_______________________________________________
mdt-ocl.dev mailing list
mdt-ocl.dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdt-ocl.dev



_______________________________________________
mdt-ocl.dev mailing list
mdt-ocl.dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdt-ocl.dev


No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.5863 / Virus Database: 4321/9435 - Release Date: 04/02/15



Back to the top