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

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

Closed
akarnokd opened this issue Dec 3, 2019 · 2 comments · Fixed by #6745
Closed

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

akarnokd opened this issue Dec 3, 2019 · 2 comments · Fixed by #6745

Comments

@akarnokd
Copy link
Member

akarnokd commented Dec 3, 2019

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

@io7m
Copy link
Contributor

io7m commented Dec 3, 2019

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.

@akarnokd
Copy link
Member Author

akarnokd commented Dec 3, 2019

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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants