Bug#1011535: openjfx: FTBFS with OpenJDK 17 due to javadoc errors

Emmanuel Bourg ebourg at apache.org
Tue May 24 18:20:58 BST 2022


Package: openjfx
Version: 11.0.11+1-1
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17


openjfx fails to build with OpenJDK 17 due to javadoc errors:


  Starting process 'command '/usr/lib/jvm/java-17-openjdk-amd64/bin/javadoc''. Working directory: /<<PKGBUILDDIR>> Command: /usr/lib/jvm/java-17-openjdk-amd64/bin/javadoc @/<<PKGBUILDDIR>>/build/tmp/javadoc/j>
  Successfully started process 'command '/usr/lib/jvm/java-17-openjdk-amd64/bin/javadoc''
  /<<PKGBUILDDIR>>/modules/javafx.base/src/main/java/com/sun/javafx/property/PropertyReference.java:28: warning: [removal] AccessController in java.security has been deprecated and marked for removal
  import static java.security.AccessController.doPrivileged;
                             ^
  /<<PKGBUILDDIR>>/modules/javafx.base/src/main/java/javafx/beans/value/WritableObjectValue.java:31: error: invalid use of @param
   * @param T
     ^
  /<<PKGBUILDDIR>>/modules/javafx.base/src/main/java/javafx/beans/property/adapter/JavaBeanObjectPropertyBuilder.java:59: error: invalid use of @param
   * @param T the type of the wrapped {@code Object}
     ^
  /<<PKGBUILDDIR>>/modules/javafx.base/src/main/java/javafx/beans/property/adapter/ReadOnlyJavaBeanObjectPropertyBuilder.java:58: error: invalid use of @param
   * @param T the type of the wrapped {@code Object}
     ^
  /<<PKGBUILDDIR>>/modules/javafx.base/src/main/java/javafx/beans/property/adapter/JavaBeanObjectProperty.java:90: error: invalid use of @param
   * @param T type of the wrapped {@code Object}
     ^
  /<<PKGBUILDDIR>>/modules/javafx.base/src/main/java/javafx/beans/property/adapter/ReadOnlyJavaBeanObjectProperty.java:82: error: invalid use of @param
   * @param T the type of the wrapped {@code Object}
     ^
  /<<PKGBUILDDIR>>/modules/javafx.graphics/src/main/java/javafx/scene/Node.java:227: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>String ID</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.graphics/src/main/java/javafx/scene/input/MouseEvent.java:52: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>Dragging gestures</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.graphics/src/main/java/javafx/scene/input/DragEvent.java:54: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>Drag sources: initiating a drag and drop gesture</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.graphics/src/main/java/javafx/scene/layout/Pane.java:61: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>Resizable Range</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.graphics/src/main/java/javafx/scene/layout/VBox.java:77: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>Resizable Range</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.graphics/src/main/java/javafx/scene/layout/HBox.java:79: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>Resizable Range</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.graphics/src/main/java/javafx/scene/layout/AnchorPane.java:45: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>Anchor Constraints</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.graphics/src/main/java/javafx/scene/layout/TilePane.java:108: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>Resizable Range</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.graphics/src/main/java/javafx/scene/layout/BorderPane.java:85: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>Resizable Range</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.graphics/src/main/java/javafx/scene/layout/StackPane.java:70: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>Resizable Range</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.graphics/src/main/java/javafx/scene/layout/GridPane.java:84: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>Grid Constraints</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.graphics/src/main/java/javafx/scene/layout/FlowPane.java:101: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>Resizable Range</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.graphics/src/main/java/javafx/scene/shape/Shape.java:95: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>Interaction with coordinate systems</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.graphics/src/main/java/javafx/scene/text/TextFlow.java:113: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>Resizable Range</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.controls/src/main/java/javafx/scene/control/TreeView.java:101: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>TreeView Selection / Focus APIs</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.controls/src/main/java/javafx/scene/control/Pagination.java:54: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>Styling the page indicators</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.controls/src/main/java/javafx/scene/control/Cell.java:190: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>Key Design Goals</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.controls/src/main/java/javafx/scene/control/ListView.java:91: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>Populating a ListView</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.controls/src/main/java/javafx/scene/control/skin/TableRowSkinBase.java:60: warning: nested tag: @link
   *           {@link javafx.scene.control.TableCell or {@link javafx.scene.control.TreeTableCell}}).
                                                        ^
  /<<PKGBUILDDIR>>/modules/javafx.controls/src/main/java/javafx/scene/control/Dialog.java:154: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>Dialog Validation / Intercepting Button Actions</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.controls/src/main/java/javafx/scene/control/ComboBox.java:127: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>A warning about inserting Nodes into the ComboBox items list</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.controls/src/main/java/javafx/scene/control/ButtonBar.java:55: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
   * <h3>Uniform button sizing</h3>
     ^
  /<<PKGBUILDDIR>>/modules/javafx.base/src/main/java/javafx/beans/binding/package.html:38: error: unexpected heading used: <H1>, compared to implicit preceding heading: <H1>
          <h1>Characteristics of Bindings</h1>
          ^
  /<<PKGBUILDDIR>>/modules/javafx.base/src/main/java/javafx/beans/binding/package.html:54: error: unexpected heading used: <H1>, compared to implicit preceding heading: <H1>
          <h1>High Level API and Low Level API</h1>
          ^
  /<<PKGBUILDDIR>>/modules/javafx.base/src/main/java/javafx/beans/property/package.html:39: error: unexpected heading used: <H1>, compared to implicit preceding heading: <H1>
          <h1>Read-only Properties</h1>
          ^
  /<<PKGBUILDDIR>>/modules/javafx.base/src/main/java/javafx/beans/property/package.html:50: error: unexpected heading used: <H1>, compared to implicit preceding heading: <H1>
          <h1>Writable Properties</h1>
          ^
  /<<PKGBUILDDIR>>/modules/javafx.base/src/main/java/javafx/beans/value/package.html:40: error: unexpected heading used: <H1>, compared to implicit preceding heading: <H1>
          <h1>ObservableValue</h1>
          ^
  /<<PKGBUILDDIR>>/modules/javafx.base/src/main/java/javafx/beans/value/package.html:86: error: unexpected heading used: <H1>, compared to implicit preceding heading: <H1>
          <h1>WritableValue</h1>
          ^
  /<<PKGBUILDDIR>>/modules/javafx.graphics/src/main/java/javafx/scene/package.html:82: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
  <h3>Example</h3>
  ^
  /<<PKGBUILDDIR>>/modules/javafx.graphics/src/main/java/javafx/scene/layout/package.html:46: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
  <h3>Scene Graph Layout Mechanism</h3>
  ^




This was fixed upstream in OpenJDK 14 and later:

https://github.com/openjdk/jfx/commit/d46dcae7a571724f10d58e424842d703ea1cb0e3



More information about the pkg-java-maintainers mailing list