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
/home/runner/work/opensearch-sdk-py/opensearch-sdk-py/opensearch/server/src/main/java/org/opensearch/action/pagination/PaginationStrategy.java:48: error: no tag name after @
* Utility method to get list of indices filtered as per {@param filterPredicate} and the sorted according to {@param comparator}.
^
/home/runner/work/opensearch-sdk-py/opensearch-sdk-py/opensearch/server/src/main/java/org/opensearch/action/pagination/PaginationStrategy.java:48: error: no tag name after @
* Utility method to get list of indices filtered as per {@param filterPredicate} and the sorted according to {@param comparator}.
^
/home/runner/work/opensearch-sdk-py/opensearch-sdk-py/opensearch/server/src/main/java/org/opensearch/action/pagination/PaginationStrategy.java:60: error: no tag name after @
* Utility method to get list of indices sorted as per {@param comparator}.
^
...
FAILURE: Build completed with 2 failures.
> Task :server:compileJava FAILED
110 actionable tasks: 110 executed
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':server:compileJava'.
> Compilation failed; see the compiler error output for details.
Expected behavior
OpenSearch compiles without javadoc errors.
Additional Details
Additional context
This does not appear on OpenSearch because these javadoc errors are suppressed in gradle.properties:
However, this configuration is not used in other project GHA. It can be worked around by using --warning-mode none switch on gradle commands, but it's better to not require projects to ignore these errors to compile.
@dbwiddis@skull-squadron Sorry, somehow missed this issue earlier. I'll raise a fix to address this, but at the time of merging, I remember couple of places were already using such inline javadocs, not sure if those too have been fixed.
Anyway, until fix is merged, can you please try to build using JDK 17 and above? It works on my local.
Thanks!
Describe the bug
The PaginationStrategy class has javadoc errors using
@param
inline in three places:OpenSearch/server/src/main/java/org/opensearch/action/pagination/PaginationStrategy.java
Line 48 in 4456d55
OpenSearch/server/src/main/java/org/opensearch/action/pagination/PaginationStrategy.java
Line 60 in 4456d55
These prevent a Gradle compile task from completing successfully without warning-mode disabled.
Related component
Other
To Reproduce
Expected behavior
OpenSearch compiles without javadoc errors.
Additional Details
Additional context
This does not appear on OpenSearch because these javadoc errors are suppressed in
gradle.properties
:OpenSearch/gradle.properties
Line 14 in 4456d55
However, this configuration is not used in other project GHA. It can be worked around by using
--warning-mode none
switch on gradle commands, but it's better to not require projects to ignore these errors to compile.Bug introduced in #14641
CC: @gargharsh3134 @shwetathareja @rajiv-kv @vikasvb90
The text was updated successfully, but these errors were encountered: