Skip to content

OSGi warning about io.reactivex.rxjava3.disposables using private #6742

Closed

Description

@akarnokd

Since the OSGi update #6675, packaging the jar gives the following warning:

warning: Export io.reactivex.rxjava3.disposables,  has 1,  private references [io.reactivex.rxjava3.internal.disposables]

I don't know why this package gets a warning but not core.

/cc @io7m

Activity

  1. added this to the 3.0 milestone on Dec 3, 2019
  2. io7m commented on Dec 3, 2019

    @io7m
    Contributor

    What this message is saying is that a class in the exported package io.reactivex.rxjava3.disposables references a class in the non-exported package io.reactivex.rxjava3.internal.disposables. This isn't always indicative of a real problem - it might just indicate that your API classes are leaking implementation details - but I'll take a look at it.

  3. akarnokd commented on Dec 3, 2019

    @akarnokd
    MemberAuthor

    Thanks, it is likely due to the internal DisposableContainer interface referenced. I've moved it into public in #6745 and should no longer give a warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions