I made some bundles with patches to use the Java 11 LinkedTransferQueue
on Java 17.
This will only work with OH 4.0.1.
Maybe someone wants to test it?
You can update the bundles on the Console with these commands:
bundle:install -s https://github.com/openhab/openhab-base-fixes/releases/download/base-fixes-20230809/base-fixes-1.0.0-SNAPSHOT.jar
bundle:update org.openhab.core https://github.com/wborn/openhab-core/releases/download/base-fixes-20230809/org.openhab.core-4.0.1-SNAPSHOT.jar
bundle:update org.jupnp https://github.com/wborn/jupnp/releases/download/base-fixes-20230809/org.jupnp-2.8.0-SNAPSHOT.jar
The org.jupnp update is optional as it may fail if you don’t use any add-on that depends on it.
After updating the bundles openHAB needs to be restarted for it to work again.
To revert the changes use these commands:
bundle:uninstall org.openhab.base-fixes
bundle:update org.openhab.core https://openhab.jfrog.io/artifactory/libs-release/org/openhab/core/bundles/org.openhab.core/4.0.1/org.openhab.core-4.0.1.jar
bundle:update org.jupnp https://repo1.maven.org/maven2/org/jupnp/org.jupnp/2.7.0/org.jupnp-2.7.0.jar
Then again restart openHAB.