← JavaFX

OpenJFX 18 Release notes

Released versions

VersionRelease dateRelease notes
18.0.2July 19, 2022release notes
18.0.1April 19, 2022release notes
18March 15, 2022release notes

Version 18.0.2

List of Fixed Bugs

Issue keySummarySubcomponent
JDK-8280841Update SQLite to 3.37.2web
JDK-8282134Certain regex can cause a JS trap in WebViewweb
JDK-8283328Update libxml2 to 2.9.13web
JDK-8286256Update libxml2 to 2.9.14web
JDK-8286257Update libxslt to 1.1.35web

List of Security fixes

Issue keySummarySubcomponent
JDK-8282121 (not public)Improve WebKit referencingweb
JDK-8285691 (not public)Additional fix for JDK-8282121web

Version 18.0.1

List of Fixed Bugs

Issue keySummarySubcomponent
JDK-8278980Update WebKit to 613.1web
JDK-8281459WebKit 613.1 build broken on M1web
JDK-8281711Cherry-pick WebKit 613.1 stabilization fixesweb
JDK-8282099Cherry-pick WebKit 613.1 stabilization fixes (2)web

Version 18

Important Changes

Deprecate JavaFX GTK 2 library for removal

The JavaFX GTK 2 library is deprecated and will be removed in a future release. The JavaFX runtime issues a warning if the GTK 2 library is requested on the command line via java -Djdk.gtk.version=2. The JavaFX runtime also issues a warning if the GTK 2 library is selected as a fallback, which happens if the GTK 3 library cannot be loaded. Application developers should avoid requesting the GTK 2 library.

See JDK-8273089 for more information.

List of Enhancements

Issue keySummarySubcomponent
JDK-8267472JavaFX modules to include version informationbuild
JDK-8172095Let Node.managed become CSS-styleablecontrols
JDK-8234921Add DirectionalLight to the selection of 3D light typesgraphics
JDK-8272870Add convenience factory methods for Border and Backgroundgraphics
JDK-8278595Provide more information when a pipeline can’t be usedgraphics
JDK-8278860Streamline properties for Monoclegraphics
JDK-8273096Add support for H.265/HEVC to JavaFX Mediamedia
JDK-8214158Implement HostServices.showDocument on macOS without calling AWTother
JDK-8090547Allow for transparent backgrounds in WebViewweb
JDK-8273089Deprecate JavaFX GTK 2 library for removalwindow-toolkit

List of Fixed Bugs

Issue keySummarySubcomponent
JDK-8203463[Accessibility, Narrator] NPE in TableViewaccessibility
JDK-8273969Memory Leak on the Runnable provided to Platform.startupapplication-lifecycle
JDK-8270838Remove deprecated protected access members from DateTimeStringConverterbase
JDK-8273138BidirectionalBinding fails to observe changes of invalid propertiesbase
JDK-8273754Re-introduce Automatic-Module-Name in empty jarsbuild
JDK-8278260JavaFX shared libraries not stripped on Linux or macOSbuild
JDK-8089398[ChoiceBox, ComboBox] throws NPE on setting value on null selectionModelcontrols
JDK-8090158Wrong implementation of adjustValue in scrollBarscontrols
JDK-8187474Tree-/TableCell, TreeCell: editingCell/Item not updated in cell.startEditcontrols
JDK-8188026TextFieldXXCell: NPE on calling startEditcontrols
JDK-8188027List/TableCell: must not fire event in startEdit if already editingcontrols
JDK-8191995Regression: DatePicker must commit on focusLostcontrols
JDK-8197991Selecting many items in a TableView is very slowcontrols
JDK-8205915[macOS] Accelerator assigned to button in dialog fires menuItem in owning stagecontrols
JDK-8231644TreeTableView Regression: Indentation wrong using Label as column content typecontrols
JDK-8240506TextFieldSkin/Behavior: misbehavior on switching skincontrols
JDK-8244419TextAreaSkin: throws UnsupportedOperation on disposecontrols
JDK-8268295Tree- and TableCell sub implementations should respect the row editabilitycontrols
JDK-8269081Tree/ListViewSkin: must remove flow on disposecontrols
JDK-8269871CellEditEvent: must not throw NPE in accessorscontrols
JDK-8271474Tree-/TableCell: inconsistent edit event firing patterncontrols
JDK-8271484Tree-/TableCell: NPE when accessing edit event from startEditcontrols
JDK-8272118ListViewSkin et al: must not cancel edit on scrollingcontrols
JDK-8273071SeparatorSkin: must remove child on disposecontrols
JDK-8273324IllegalArgumentException: fromIndex(0) > toIndex(-1) after clear and select TableCellcontrols
JDK-8274022Additional Memory Leak in ControlAcceleratorSupportcontrols
JDK-8274061Tree-/TableRowSkin: misbehavior on switching skincontrols
JDK-8274137TableView scrollbar/header misaligned when reloading datacontrols
JDK-8274854Mnemonics for menu containing numeric text not workingcontrols
JDK-8274433All Cells: misbehavior of startEditcontrols
JDK-8274699Certain blend modes cannot be set from CSScontrols
JDK-8274669Dialog sometimes ignores max heightcontrols
JDK-8275911Keyboard doesn’t show when tapping inside an iOS text input controlcontrols
JDK-8276167VirtualFlow.scrollToTop doesn’t scroll to the top of the last elementcontrols
JDK-8276313ScrollPane scroll delta incorrectly depends on content heightcontrols
JDK-8276553ListView scrollTo() is broken after fix for JDK-8089589controls
JDK-8281207TableView scrollTo() will not show last row for a custom cell factory.controls
JDK-8232812[MacOS] Double click title bar does not restore window sizegraphics
JDK-8236689macOS 10.15 Catalina: LCD text renders badlygraphics
JDK-8254956[REDO] Memoryleak: Closed focused Stages are not collected with Monoclegraphics
JDK-8255015Inconsistent illumination of 3D shape by PointLightgraphics
JDK-8269374Menu inoperable after setting stage to second monitorgraphics
JDK-8269638Property methods, setters, and getters in printing API should be finalgraphics
JDK-8269639[macos] Calling stage.setY(0) twice causes wrong popups locationgraphics
JDK-8276490Incorrect path for duplicate x and y values, when path falls outside axis boundgraphics
JDK-8276915Crash on iOS 15.1 in GlassRunnable::deallocgraphics
JDK-8278905JavaFX: EnumConverter has a typo in the toString methodgraphics
JDK-8279328CssParser uses default charset instead of UTF-8graphics
JDK-8253351MediaPlayer does not display an mp4 if there no speakers connected to the PC’smedia
JDK-8268718[macos] Video stops, but audio continues to play when stopTime is reachedmedia
JDK-8222455JavaFX error loading glass.dll from cacheother
JDK-8270839Remove deprecated implementation methods from Scenescenegraph
JDK-8268849Update to 612.1 version of WebKitweb
JDK-8270479WebKit 612.1 build fails with Visual Studio 2017web
JDK-8272329Cherry pick GTK WebKit 2.32.3 changesweb
JDK-8274107Cherry pick GTK WebKit 2.32.4 changesweb
JDK-8275138WebView: UserAgent string is empty for first requestweb
JDK-8276847JSException: ReferenceError: Can’t find variable: IntersectionObserverweb
JDK-8277133Dragboard contents retrieved all over again during a DND process on WebViewweb
JDK-8277457AccessControlException: access denied (“java.net.NetPermission” “getCookieHandler”)web
JDK-8160597IllegalArgumentException when we initiate drag on Imagewindow-toolkit
JDK-8227371Drag&Drop while holding the CMD key does not work on macOSwindow-toolkit
JDK-8242544CMD+ENTER key event crashes the application when invoked on dialogwindow-toolkit
JDK-8269967JavaFX should fail fast on macOS below minimum versionwindow-toolkit
JDK-8269968[REDO] Bump minimum version of macOS for x64 to 10.12window-toolkit
JDK-8271398GTK3 drag view image swaps red and blue color channelswindow-toolkit
JDK-8274929Crash while reading specific clipboard contentwindow-toolkit
JDK-8275723Crash on macOS 12 in GlassRunnable::deallocwindow-toolkit

List of Security fixes

Issue keySummarySubcomponent
JDK-8263112 (not public)Enhance String Conclusionsgraphics