FlatLaf
FlatLaf copied to clipboard
Illegal reflective access on Windows
FlatLaf v2.4, Windows, Java 11 Illegal reflective access:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.formdev.flatlaf.ui.FlatFileChooserUI$FlatShortcutsPanel (file:lib/flatlaf-2.4.jar) to method sun.awt.shell.ShellFolder.get(java.lang.String)
WARNING: Please consider reporting this to the maintainers of com.formdev.flatlaf.ui.FlatFileChooserUI$FlatShortcutsPanel
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
@widerlund, add on startup of your application
--add-opens=java.desktop/sun.awt.shell=ALL-UNNAMED
Thank you - that works!