← JavaFX

OpenJFX 19 Release Notes

Released versions

VersionRelease dateRelease notes
19.0.2.1January 20, 2023release notes
19.0.2January 18, 2023release notes
19September 13, 2022release notes

Release Notes for JavaFX 19.0.2.1

List of Security Fixes

Issue keySummarySubcomponent
JDK-8296654[macos] Crash when launching JavaFX app with JDK that targets SDK 13window-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 keySummarySubcomponent
JDK-8294779 (not public)Improve FX pagesfxml
JDK-8289336 (not public)Better platform image supportgraphics
JDK-8289343 (not public)Better GL supportgraphics
JDK-8299628 (not public)BMP top-down images fail to load after JDK-8289336graphics
JDK-8292097 (not public)Better video decodingmedia
JDK-8292105 (not public)Improve Robot functionalitywindow-toolkit
JDK-8292112 (not public)Better DragView handlingwindow-toolkit

Version 19

List of Enhancements

Issue keySummarySubcomponent
JDK-8274771Map, FlatMap and OrElse fluent bindings for ObservableValuebase
JDK-8283346Optimize observable ArrayList creation in FXCollectionsbase
JDK-8286552TextFormatter: UpdateValue/UpdateText is called, when no ValueConverter is setcontrols
JDK-8268225Support :focus-visible and :focus-within CSS pseudoclassesgraphics
JDK-8277309Add support for H.265/HEVC to HTTP Live Streamingmedia

List of Fixed Bugs

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

List of Security fixes

Issue keySummarySubcomponent
JDK-8276371 (not public)Better long bufferingweb
JDK-8282121 (not public)Improve WebKit referencingweb