You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These warnings are added to the SVG image and maybe also to the PNG:
OpenJDK 16: Option --illegal-access is deprecated and will be removed in a future release.
OpenJDK 17: Ignoring option --illegal-access=deny; support was removed in 17.0
Like this:
Error parsing SVG image ‘(image :type svg :data OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=deny; support was removed in 17.0
Because of these warnings my Emacs preview does not work anymore. When removing the option --illegal-access=deny, the preview works again.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Maybe its a good idea to remove this flag from the defaults so everyone on modern JVMs don't hit this?
As a workaround for the masses: m-x customize-groupplantuml. Find Plantuml Java Args, expand, remove --illegal-access=deny. Save and set for current session. Profit.
Summary
These warnings are added to the SVG image and maybe also to the PNG:
OpenJDK 16:
Option --illegal-access is deprecated and will be removed in a future release.
OpenJDK 17:
Ignoring option --illegal-access=deny; support was removed in 17.0
Like this:
Because of these warnings my Emacs preview does not work anymore. When removing the option
--illegal-access=deny
, the preview works again.The text was updated successfully, but these errors were encountered: