Skip to content

Dependency to io.reactivex.rxjava3.internal packages #253

@scottslewis

Description

@scottslewis

In using the new rxjava3 support (in osgi framework) I discovered that there is a dependency on these two rxjava3 packages:

There is a dependency in the rx3java-stub (and some test code) on the following two reactivex packages

io.reactivex.rxjava3.internal.fuseable
io.reactivex.rxjava3.internal.queable

The current version of rxjava3 (3.1.0 located here in maven central: https://search.maven.org/artifact/io.reactivex.rxjava3/rxjava/3.1.0/jar

does not export these packages in the manifest.mf created by bnd, and in fact lists them under Private-Package. This means that even though these two packages can be accessed at runtime in java app environment, and by the compiler, they cannot be accessed (resolved) when run in osgi framework...since the osgi classloader cannot see packages that are declared private by the io.reactivex.rxjava3 bundle.

With casual inspection in the rx3java-stub code (not test code) that it may be possible to remove the references to the classes in the internal packages (several accesses are just to constants). I will give a shot at this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions