libelektra icon indicating copy to clipboard operation
libelektra copied to clipboard

Java binding build warnings with JDK 20

Open kodebach opened this issue 2 years ago • 0 comments

Steps to Reproduce the Problem

Compile the Java binding with JDK 20

Expected Result

No errors

Actual Result

A bunch of warnings concerning the javadoc comments

<build-folder-path>/src/bindings/jna/libelektra/src/main/java/org/libelektra/KeySetIterator.java:56: warning: overridden methods do not document exception type java.util.NoSuchElementException (module java.base package java.util class NoSuchElementException)
   * @throws NoSuchElementException {@inheritDoc}

And the Gradle task fails because of these

System Information

  • Elektra: master
  • Operating System: Manjaro Linux
  • JDK: OpenJDK 20

kodebach avatar Jun 01 '23 10:06 kodebach