SEVERE: Buffer cannot be destroyed: java.nio.DirectFloatBufferU
Even by adding this JVM arg (which used to solve that on jdk 11+)
"--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED"
you can test it with
|
public class TestReleaseDirectMemory extends SimpleApplication { |
Forum post:
https://hub.jmonkeyengine.org/t/jme-on-jdk-16/44411/6?u=ali_rs
SEVERE: Buffer cannot be destroyed: java.nio.DirectFloatBufferUEven by adding this JVM arg (which used to solve that on jdk 11+)
"--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED"
you can test it with
jmonkeyengine/jme3-examples/src/main/java/jme3test/app/TestReleaseDirectMemory.java
Line 43 in d76d4dc
Forum post:
https://hub.jmonkeyengine.org/t/jme-on-jdk-16/44411/6?u=ali_rs