Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho 1.3 + Java 11 + javax.annotation


See where I suggest that use of jdt.annotation should auto-require javax.annotation.


Ed Willink

On 02/11/2018 12:29, Christian Dietrich wrote:

Java 11 removed javax.annotation.
This leads to test failures like

!ENTRY org.eclipse.ui 4 0 2018-11-02 12:33:19.100
!MESSAGE FrameworkEvent ERROR
org.osgi.framework.BundleException: Could not resolve module:
org.eclipse.ui [23]
   Unresolved requirement: Require-Bundle: org.eclipse.ui.workbench;
bundle-version="[3.112.0,4.0.0)"; visibility:="reexport"
     -> Bundle-SymbolicName: org.eclipse.ui.workbench;
bundle-version="3.112.100.v20181005-0915"; singleton:="true"
        org.eclipse.ui.workbench [106]
          Unresolved requirement: Import-Package: javax.annotation

i wonder if i really have to add

	<unit id="javax.annotation" version="1.2.0.v201602091430"/>

to my target and something like

				<!-- to get the org.eclipse.osgi.compatibility.state plugin
				if the target platform is Luna or later.
				(backward compatible with kepler and previous versions)
				see -->

or if there are any plans to make this happen "automatically" somehow

This email has been checked for viruses by Avast antivirus software.

Back to the top