Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a lower version bound for OSGi API import #164

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

laeubi
Copy link
Member

@laeubi laeubi commented Jan 20, 2025

I checked ECF for lower version bound problems with new Tycho version check and found these issues

ecf

Import-Package org.osgi.framework [1.3.0,2.0.0) (compiled against 1.10.0 provided by org.eclipse.osgi 3.20.0.v20240509-1421) includes 1.5.0 (provided by org.eclipse.osgi 3.5.1.R35x_v20090827) but this version is missing the method org/osgi/framework/BundleContext#registerService (Ljava/lang/Class;Ljava/lang/Object;Ljava/util/Dictionary;)Lorg/osgi/framework/ServiceRegistration; referenced by:

  • org.eclipse.ecf.internal.core.ECFPlugin
  • org.eclipse.ecf.internal.core.ECFPlugin$5

Import-Package org.osgi.framework [1.3.0,2.0.0) (compiled against 1.10.0 provided by org.eclipse.osgi 3.20.0.v20240509-1421) includes 1.4.0 (provided by org.eclipse.osgi 3.4.3.R34x_v20081215-1030) but this version is missing the method org/osgi/framework/BundleContext#registerService (Ljava/lang/Class;Ljava/lang/Object;Ljava/util/Dictionary;)Lorg/osgi/framework/ServiceRegistration; referenced by:

  • org.eclipse.ecf.internal.core.ECFPlugin
  • org.eclipse.ecf.internal.core.ECFPlugin$5

Import-Package org.osgi.util.tracker [1.3.2,2.0.0) (compiled against 1.5.4 provided by org.eclipse.osgi 3.20.0.v20240509-1421) includes 1.4.2 (provided by org.eclipse.osgi 3.5.1.R35x_v20090827) but this version is missing the method org/osgi/util/tracker/ServiceTracker#<init> (Lorg/osgi/framework/BundleContext;Ljava/lang/Class;Lorg/osgi/util/tracker/ServiceTrackerCustomizer;)V referenced by:

  • org.eclipse.ecf.core.security.ECFSSLContextFactory

Import-Package org.osgi.util.tracker [1.3.2,2.0.0) (compiled against 1.5.4 provided by org.eclipse.osgi 3.20.0.v20240509-1421) includes 1.3.3 (provided by org.eclipse.osgi 3.4.3.R34x_v20081215-1030) but this version is missing the method org/osgi/util/tracker/ServiceTracker#<init> (Lorg/osgi/framework/BundleContext;Ljava/lang/Class;Lorg/osgi/util/tracker/ServiceTrackerCustomizer;)V referenced by:

  • org.eclipse.ecf.core.security.ECFSSLContextFactory

Import-Package org.osgi.util.tracker [1.3.2,2.0.0) (compiled against 1.5.4 provided by org.eclipse.osgi 3.20.0.v20240509-1421) includes 1.3.3 (provided by org.eclipse.osgi 3.4.3.R34x_v20081215-1030) but this version is missing the method org/osgi/util/tracker/ServiceTracker#getTracked ()Ljava/util/SortedMap; referenced by:

  • org.eclipse.ecf.core.security.ECFSSLContextFactory

Suggested lower version for package org.osgi.framework is 1.6.0 out of [1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.9.0, 1.10.0]
Suggested lower version for package org.osgi.util.tracker is 1.5.0 out of [1.3.3, 1.4.0, 1.4.2, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4]

httpclient5

Import-Package org.osgi.framework 0.0.0 (compiled against 1.10.0 provided by org.eclipse.osgi 3.20.0.v20240509-1421) includes 1.5.0 (provided by org.eclipse.osgi 3.5.1.R35x_v20090827) but this version is missing the method org/osgi/framework/BundleContext#getServiceReference (Ljava/lang/Class;)Lorg/osgi/framework/ServiceReference; referenced by:

  • org.eclipse.ecf.internal.provider.filetransfer.httpclient5.Activator

Import-Package org.osgi.framework 0.0.0 (compiled against 1.10.0 provided by org.eclipse.osgi 3.20.0.v20240509-1421) includes 1.4.0 (provided by org.eclipse.osgi 3.4.3.R34x_v20081215-1030) but this version is missing the method org/osgi/framework/BundleContext#getServiceReference (Ljava/lang/Class;)Lorg/osgi/framework/ServiceReference; referenced by:

  • org.eclipse.ecf.internal.provider.filetransfer.httpclient5.Activator

Suggested lower version for package org.osgi.framework is 1.6.0 out of [1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.9.0, 1.10.0]

httpclient5.win32

Import-Package org.osgi.framework [1.3.0,2.0.0) (compiled against 1.10.0 provided by org.eclipse.osgi 3.20.0.v20240509-1421) includes 1.4.0 (provided by org.eclipse.osgi 3.4.3.R34x_v20081215-1030) but this version is missing the method org/osgi/framework/FrameworkUtil#getBundle (Ljava/lang/Class;)Lorg/osgi/framework/Bundle; referenced by:

  • org.eclipse.ecf.internal.provider.filetransfer.httpclient5.win32.Win32HttpClientConfigurationModifier

Suggested lower version for package org.osgi.framework is 1.5.0 out of [1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.9.0, 1.10.0]

httpclientjava

Import-Package org.osgi.framework 0.0.0 (compiled against 1.10.0 provided by org.eclipse.osgi 3.20.0.v20240509-1421) includes 1.5.0 (provided by org.eclipse.osgi 3.5.1.R35x_v20090827) but this version is missing the method org/osgi/framework/BundleContext#getServiceReference (Ljava/lang/Class;)Lorg/osgi/framework/ServiceReference; referenced by:

  • org.eclipse.ecf.internal.provider.filetransfer.httpclientjava.Activator

Import-Package org.osgi.framework 0.0.0 (compiled against 1.10.0 provided by org.eclipse.osgi 3.20.0.v20240509-1421) includes 1.4.0 (provided by org.eclipse.osgi 3.4.3.R34x_v20081215-1030) but this version is missing the method org/osgi/framework/BundleContext#getServiceReference (Ljava/lang/Class;)Lorg/osgi/framework/ServiceReference; referenced by:

  • org.eclipse.ecf.internal.provider.filetransfer.httpclientjava.Activator

Suggested lower version for package org.osgi.framework is 1.6.0 out of [1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.9.0, 1.10.0]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant