Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--illegal-access=deny; support was removed #157

Open
vbramselaar opened this issue Feb 3, 2022 · 3 comments
Open

--illegal-access=deny; support was removed #157

vbramselaar opened this issue Feb 3, 2022 · 3 comments

Comments

@vbramselaar
Copy link

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:

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.

@stale
Copy link

stale bot commented Jun 12, 2022

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.

@stale stale bot added the wontfix label Jun 12, 2022
@timcharper
Copy link

timcharper commented Feb 15, 2023

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-group plantuml. Find Plantuml Java Args, expand, remove --illegal-access=deny. Save and set for current session. Profit.

@stale stale bot removed the wontfix label Feb 15, 2023
@timcharper
Copy link

Ah, looks like fix is here: 2fd42ff

... but perhaps not yet on ELPA (last release I see is 1.4.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants