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

java.security.AccessController is deprecated at JDK17 #11457

Open
magnolia-k opened this issue Oct 8, 2022 · 1 comment
Open

java.security.AccessController is deprecated at JDK17 #11457

magnolia-k opened this issue Oct 8, 2022 · 1 comment

Comments

@magnolia-k
Copy link

Play Version

2.8.17

JDK

17

issue

[warn] /playframework/dev-mode/run-support/src/main/scala/play/runsupport/Reloader.scala:44:38: class AccessController in package security is deprecated
[warn]   private val accessControlContext = AccessController.getContext

java.security.AccessController is deprecated at JDK17 and will be removed in a future JDK.

see below
https://openjdk.org/jeps/411

@mkurz
Copy link
Member

mkurz commented Oct 8, 2022

Thanks! IMHO this is not a pressing issue right now, but we should watch future Java releases in case AccessController finally gets removed and if any alternatives popping up.

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

No branches or pull requests

2 participants