1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-10 12:03:16 +02:00

Launchbar not visible on Java 11

o.e.launchbar.ui.controls uses annotations and thus imports
javax.annotations package. This package is removed in Java 11 and
equinox doesn't put javax.annotation bundle on the classpath resulting
in launchbar not functioning at all.
The fix is to Import-Package: javax.annotation like eclipse platform
bundles do and letting equinox resolve it either from the jvm or the
bundle shipped with platform.

Change-Id: Id5702919b233b3fea424fa2f1db15505eee8ecb7
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
This commit is contained in:
Alexander Kurtakov 2018-11-07 15:07:33 +02:00
parent c1e3974e1b
commit df0fc91d7f

View file

@ -16,6 +16,7 @@ Require-Bundle: org.eclipse.osgi.services;bundle-version="3.5.0",
org.eclipse.debug.ui;bundle-version="3.11.200",
org.eclipse.launchbar.core;bundle-version="2.0.0",
org.eclipse.launchbar.ui;bundle-version="2.0.0"
Import-Package: javax.annotation
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ActivationPolicy: lazy
Bundle-Localization: plugin