jajuk-team / jajuk

Advanded jukebox for users with large or scattered music collections
49 stars 19 forks source link

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

Open bflorat opened 2 years ago

bflorat commented 2 years ago

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)