Skip to content

ci(dependabot): keep JavaFX on the line that still runs on Java 17 - #471

Merged
DemchaAV merged 2 commits into
developfrom
chore/pin-javafx-to-the-jdk17-line
Jul 27, 2026
Merged

ci(dependabot): keep JavaFX on the line that still runs on Java 17#471
DemchaAV merged 2 commits into
developfrom
chore/pin-javafx-to-the-jdk17-line

Conversation

@DemchaAV

Copy link
Copy Markdown
Owner

Why

Dependabot proposed JavaFX 21.0.2 -> 26.0.2 in #468, and it fails Build and run tests (JDK 17):

qa/src/test/java/com/demcha/compose/devtool/GraphComposeDevTool.java:[615,24] cannot find symbol
  symbol: class TextArea
  ... class Label, variable FontWeight, variable Font

JavaFX follows the JDK it was built against; 21.x is the last line that runs on Java 17. javafx-controls:26 resolves, but its classes are not visible to a release 17 compile, so the JavaFX dev-preview tool in qa stops building. The CI matrix still covers JDK 17, so this bump cannot land while that floor holds.

What

An ignore entry for org.openjfx:* limited to major bumps, so patch and minor updates inside 21.x still arrive normally. The comment records the condition for removing it — the matrix floor moving past 17 — rather than leaving a rule nobody dares delete.

#468 is closed by this: without the rule Dependabot re-proposes the same failing bump every Monday.

Tests

Config-only; the YAML parses. The failure being prevented is reproduced in #468's own CI run, linked above.

JavaFX follows the JDK it was built against, and 21.x is the last line that
runs on Java 17. The CI matrix still builds and tests on 17, so the proposed
jump to 26.0.2 failed qa's compile outright: javafx-controls resolves, but
Label, TextArea, FontWeight and Font are not visible to a release-17 compile
and the JavaFX dev-preview tool stops building.

Ignoring only major bumps, so patch and minor updates inside 21.x still arrive.
The entry says when to drop it: once the matrix floor moves past 17.
@DemchaAV
DemchaAV merged commit af6673b into develop Jul 27, 2026
10 checks passed
@DemchaAV
DemchaAV deleted the chore/pin-javafx-to-the-jdk17-line branch July 27, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant