Skip to content

Add a lower version bound for OSGi API import#164

Closed
laeubi wants to merge 1 commit intoeclipse-ecf:masterfrom
laeubi:add_version_to_import_http5
Closed

Add a lower version bound for OSGi API import#164
laeubi wants to merge 1 commit intoeclipse-ecf:masterfrom
laeubi:add_version_to_import_http5

Conversation

@laeubi
Copy link
Contributor

@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]

@laeubi laeubi closed this Nov 14, 2025
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