Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] Fw: [cross-project-issues-dev] BREE change to Java 8 on some coreplugins


The only WTP plugin that I found that references org.eclipse.equinox.common is org.eclipse.jpt.jpa.db.ui, and its BREE is already at Java 8. However, there are a lot of other references to org.eclipse.equinox.* bundles, so other plugins may need to update their BREE (due to indirect references). If something breaks during the build, WTP Releng will work to get it fixed... but these issues may not show up until runtime. As such, I wanted the WTP community to be aware (and wary) of this change.


- Carl Anderson
WTP Releng Project lead
----- Forwarded by Carl Anderson/Raleigh/IBM on 01/11/2017 03:16 PM -----

From: Mikaƫl Barbero <mikael@xxxxxxxxxxx>
To: Cross project issues <cross-project-issues-dev@xxxxxxxxxxx>
Date: 01/11/2017 09:14 AM
Subject: [cross-project-issues-dev] BREE change to Java 8 on some core plugins
Sent by: cross-project-issues-dev-bounces@xxxxxxxxxxx


With, org.eclipse.core.runtime.ListenerList now overrides the default method Iterable.spliterator() and provides stream() and parallelStream() methods. Thus it exposes Java 8 types.

If you use the ListenerList class and compile against org.eclipse.equinox.common within the [3.9,4.0) range, this change may force you to update your BREE to Java 8 as well (like we had to do for bundles org.eclipse.equinox.preferences, and org.eclipse.core runtime).

Changing BREE is not required if you use ListenerList and still build against older compatible version of org.eclipse.equinox.common (i.e. within [3.0, 3.9) range). As many of us are compiling against latest versions of bundles, think of it if you see compile errors like the following "The type cannot be resolved. It is indirectly referenced from required .class files".

Note that any previously compiled bundle depending on org.eclipse.equinox.common within the [3.0,4.0) range will continue to work as before.

cross-project-issues-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top