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

Document how to use ExitGuard with Java > 18 #70

Closed
kaklakariada opened this issue Sep 23, 2022 · 1 comment
Closed

Document how to use ExitGuard with Java > 18 #70

kaklakariada opened this issue Sep 23, 2022 · 1 comment
Labels
bug Something isn't working documentation User or contributor documentation

Comments

@kaklakariada
Copy link
Contributor

kaklakariada commented Sep 23, 2022

SecurityManager which is used by ExitGuard is deprecated in Java 17. Starting with Java 18 it requires argument -Djava.security.manager=allow when starting the JVM, see

If the option is missing, this exception will be thrown:

UnsupportedOperation The Security Manager is deprecated and will be removed in a future release

We need to document this and provide a workaround similar to this one.

@kaklakariada kaklakariada added bug Something isn't working documentation User or contributor documentation labels Sep 23, 2022
@kaklakariada
Copy link
Contributor Author

It's not possible to use this with Java 18 and later. Added a note in #72

@kaklakariada kaklakariada closed this as not planned Won't fix, can't repro, duplicate, stale Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation User or contributor documentation
Projects
None yet
Development

No branches or pull requests

1 participant