OpenJFX 19 Release Notes


Released versions

Version Release date Release notes
19.0.2.1 January 20, 2023 release notes
19.0.2 January 18, 2023 release notes
19 September 13, 2022 release notes

Release Notes for JavaFX 19.0.2.1

List of Security Fixes

Issue key Summary Subcomponent
JDK-8296654 [macos] Crash when launching JavaFX app with JDK that targets SDK 13 window-toolkit

Release Notes for JavaFX 19.0.2

Important Changes

FXML JavaScript Engine Disabled by Default

The “JavaScript script engine” for FXML is now disabled by default. Any .fxml file that has a “javascript” Processing Instruction (PI) will no longer load by default, and an exception will be thrown.

If the JDK has a JavaScript script engine, it can be enabled by setting the system property:

-Djavafx.allowjs=true

List of Security Fixes

Issue key Summary Subcomponent
JDK-8294779 (not public) Improve FX pages fxml
JDK-8289336 (not public) Better platform image support graphics
JDK-8289343 (not public) Better GL support graphics
JDK-8299628 (not public) BMP top-down images fail to load after JDK-8289336 graphics
JDK-8292097 (not public) Better video decoding media
JDK-8292105 (not public) Improve Robot functionality window-toolkit
JDK-8292112 (not public) Better DragView handling window-toolkit

Version 19

List of Enhancements

Issue key Summary Subcomponent
JDK-8274771 Map, FlatMap and OrElse fluent bindings for ObservableValue base
JDK-8283346 Optimize observable ArrayList creation in FXCollections base
JDK-8286552 TextFormatter: UpdateValue/UpdateText is called, when no ValueConverter is set controls
JDK-8268225 Support :focus-visible and :focus-within CSS pseudoclasses graphics
JDK-8277309 Add support for H.265/HEVC to HTTP Live Streaming media

List of Fixed Bugs

Issue key Summary Subcomponent
JDK-8290331 Binding value left null when immediately revalidated in invalidation listener base
JDK-8291906 Bindings.createXxxBinding inherit incorrect method docs base
JDK-8187307 ListView, TableView, TreeView: receives editCancel event when edit is committed controls
JDK-8187309 TreeCell must not change tree's data controls
JDK-8187596 TreeView selection incorrectly changes after deleting an unselected row controls
JDK-8193442 Removing TreeItem from a TreeTableView sometime changes selectedItem controls
JDK-8244234 MenuButton: NPE on removing from scene with open popup controls
JDK-8251480 TableColumnHeader: calc of cell width must respect row styling controls
JDK-8251481 TableCell accessing row: NPE on auto-sizing controls
JDK-8251483 TableCell: NPE on modifying item's list controls
JDK-8273336 Clicking a selected cell from a group of selected cells in a TableView clears the selected items list but remains selected controls
JDK-8273339 IOOBE with ListChangeListener added to the selectedItems list of a TableView controls
JDK-8276056 Control.skin.setSkin(Skin) fails to call dispose() on discarded Skin controls
JDK-8277122 SplitPane divider drag can hang the layout controls
JDK-8277853 With Touch enabled devices scrollbar disappears and the table is scrolled to the beginning controls
JDK-8277756 DatePicker listener might not be added when using second constructor controls
JDK-8277785 ListView scrollTo jumps to wrong location when CellHeight is changed controls
JDK-8279228 Leak in ScrollPaneSkin, related to touch events controls
JDK-8281723 Spinner with split horizontal arrows and a border places right arrow incorrectly controls
JDK-8282093 LineChart path incorrect when outside lower bound controls
JDK-8282100 Missed top/left bouncing for ScrollPane on Raspberry Pi with Touchscreen controls
JDK-8283509 Invisible menus can lead to IndexOutOfBoundsException controls
JDK-8284676 TreeTableView loses sort ordering when applied on empty table controls
JDK-8284665 First selected item of a TreeItem multiple selection gets removed if new items are constantly added to the TreeTableView controls
JDK-8285197 TableColumnHeader: calc of cell width must respect row styling (TreeTableView) controls
JDK-8286261 Selection of non-expanded non-leaf treeItem grows unexpectedly when adding two-level descendants controls
JDK-8289751 Multiple unit test failures after JDK-8251483 controls
JDK-8290348 TreeTableView jumping to top controls
JDK-8277572 ImageStorage should correctly handle MIME types for images encoded in data URIs graphics
JDK-8279013 ES2Pipeline fails to detect AMD vega20 graphics card graphics
JDK-8285217 [Android] Window's screen is not updated after native screen was disposed graphics
JDK-8288137 The set of available printers is not updated without application restart graphics
JDK-8291502 Mouse or touch presses on a non-focusable region don't clear the focusVisible flag of the current focus owner graphics
JDK-8280840 Update libFFI to 3.4.2 media
JDK-8282054 Mediaplayer not working with HTTP Live Stream link with query parameter appended with file extension m3u8 media
JDK-8283218 Update GStreamer to 1.20.1 media
JDK-8283318 Videos with unusual sizes cannot be played on windows media
JDK-8283403 Update Glib to 2.72.0 media
JDK-8280369 native library cache should be platform/arch specific other
JDK-8281089 JavaFX built with VS2019 and jlinked into JDK 11.x fails to start other
JDK-8286678 Fix mistakes in FX API docs other
JDK-8281953 NullPointer in InputMethod components in JFXPanel swing
JDK-8088420 JavaFX WebView memory leak via EventListener web
JDK-8255940 localStorage is null after window.close() web
JDK-8269115 WebView paste event contains old data web
JDK-8278759 PointerEvent: buttons property set to 0 when mouse down web
JDK-8278980 Update WebKit to 613.1 web
JDK-8280020 Underline and line-through not straight in WebView web
JDK-8280841 Update SQLite to 3.37.2 web
JDK-8281711 Cherry-pick WebKit 613.1 stabilization fixes web
JDK-8282099 Cherry-pick WebKit 613.1 stabilization fixes (2) web
JDK-8282134 Certain regex can cause a JS trap in WebView web
JDK-8283328 Update libxml2 to 2.9.13 web
JDK-8284184 Crash in GraphicsContextJava::drawLinesForText on https://us.yahoo.com/ web
JDK-8286256 Update libxml2 to 2.9.14 web
JDK-8286257 Update libxslt to 1.1.35 web
JDK-8289587 IllegalArgumentException: Color.rgb's red parameter (-16776961) expects color values 0-255 web
JDK-8271054 [REDO] Wrong stage gets focused after modal stage creation window-toolkit
JDK-8284654 Modal behavior returns to wrong stage window-toolkit

List of Security fixes

Issue key Summary Subcomponent
JDK-8276371 (not public) Better long buffering web
JDK-8282121 (not public) Improve WebKit referencing web