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

Cannot change track in JVM 17 / Linux (ProcessImpl.pid accessible) #2075

Open
bflorat opened this issue Jul 15, 2022 · 0 comments
Open

Cannot change track in JVM 17 / Linux (ProcessImpl.pid accessible) #2075

bflorat opened this issue Jul 15, 2022 · 0 comments

Comments

@bflorat
Copy link
Contributor

bflorat commented Jul 15, 2022

In OpenJDK 17 / Linux / Jajuk

java.lang.reflect.InaccessibleObjectException: Unable to make field private final int java.lang.ProcessImpl.pid accessible: module java.base does not "opens java.lang" to unnamed module @65d8c34b
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
	at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
	at java.base/java.lang.reflect.Field.setAccessible(Field.java:172)
	at org.jajuk.services.players.AbstractMPlayerImpl.stop(AbstractMPlayerImpl.java:91)
	at org.jajuk.services.players.MPlayerPlayerImpl.stop(MPlayerPlayerImpl.java:334)
	at org.jajuk.services.players.Player.stop(Player.java:234)
	at org.jajuk.services.players.QueueModel.pushCommand(QueueModel.java:409)
	at org.jajuk.services.players.QueueModel.pushCommand(QueueModel.java:327)
	at org.jajuk.services.players.QueueModel$2.run(QueueModel.java:251)
bflorat added a commit that referenced this issue Jul 15, 2022
Cannot change track in JVM 17 / Linux (ProcessImpl.pid accessible)
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

1 participant