Re: Is this an issue in our openjdk21 port, or a 3rd party issue?
- In reply to: Alexander Leidinger : "Is this an issue in our openjdk21 port, or a 3rd party issue?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Aug 2025 12:29:37 UTC
On Wed, Aug 27, 2025 at 11:17:16AM +0200, Alexander Leidinger wrote: > Hi, > > I want to update the OpenHAB port to 5.0.x. Starting the new version fails > with this error: > 2025-08-27 10:55:50.906 [ERROR] [t.ScriptTransformationServiceFactory] - > bundle org.openhab.core.automation.module.script:5.0.1 (164)[org.o > penhab.core.automation.module.script.ScriptTransformationServiceFactory(158)] > : The setScriptEngineFactory method has thrown an exception > com.oracle.truffle.api.CompilerDirectives$ShouldNotReachHere: Unsupported OS > name FreeBSD > > Is com.oracle.truffle.api.CompilerDirectives$ShouldNotReachHere a part of > openjdk21, or is this some 3rd party stuff? It's a framework most likely sourced via Maven: https://docs.oracle.com/en/graalvm/enterprise/21/docs/graalvm-as-a-platform/language-implementation-framework/ Seems to be in some way related to the GraalVM, which is an alternative JVM with some experimental(?) performance improvements, and the ability to build native images for apps, as opposed to distributing java bytecode. I have no idea how much work it will be to port this to FreeBSD. Take care! Harald