You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error while generating Javadoc:
[ERROR] Exit code: 1
[ERROR] /Users/mark/.m2/repository/io/reactivex/rxjava3/rxjava/3.1.10/rxjava-3.1.10.jar(/io/reactivex/rxjava3/core/Single.class): error: Cannot attach type annotations @io.reactivex.rxjava3.annotations.NonNull,@io.reactivex.rxjava3.annotations.NonNull,@io.reactivex.rxjava3.annotations.NonNull,@io.reactivex.rxjava3.annotations.NonNull to Single.concat:
[ERROR] class file for org.reactivestreams.Publisher not found
[ERROR] /Users/mark/.m2/repository/io/reactivex/rxjava3/rxjava/3.1.10/rxjava-3.1.10.jar(/io/reactivex/rxjava3/core/Flowable.class): error: Cannot attach type annotations @io.reactivex.rxjava3.annotations.NonNull to Flowable.blockingSubscribe:
[ERROR] class file for org.reactivestreams.Subscriber not found
[ERROR] 2 errors
[ERROR] Command line was: javadoc -J-Duser.language= -J-Duser.country= @options @packages
Java 22
error: class file for org.reactivestreams.Publisher not found
[ERROR] 1 error
[ERROR] Command line was: javadoc -J-Duser.language= -J-Duser.country= @options @packages
Java 21
[WARNING] Javadoc Warnings
[WARNING] warning: The code being documented uses modules but the packages defined in https://reactivex.io/RxJava/3.x/javadoc/ are in the unnamed module.
[WARNING] 1 warning
This error happens when a dependency defines a module descriptor but their transitive dependency does not. Using Javadoc legacyMode helps to resort to classpath mode to overcome this utterly broken library state.
The text was updated successfully, but these errors were encountered:
An increasing number of libraries starts shipping module info without having their dependencies providing module-info. That is causing a lot of downstream effects and we do not want therefore Javadoc using modulepath.
See #2579
mp911de
changed the title
Use release instead of source for Javadoc configuration
Avoid using Modulepath in Javadoc plugin
May 19, 2025
Using Javadoc legacyMode helps to resort to classpath mode to overcome this utterly broken library state.
I'm not familiar with that legacyMode, but the JDK team introduced a --link-modularity-mismatch option for javadoc in JDK 18 indirectly per my request for such a feature.
Uh oh!
There was an error while loading. Please reload this page.
Java 23
Java 22
Java 21
This error happens when a dependency defines a module descriptor but their transitive dependency does not. Using Javadoc
legacyMode
helps to resort to classpath mode to overcome this utterly broken library state.The text was updated successfully, but these errors were encountered: