Re: Is this an issue in our openjdk21 port, or a 3rd party issue?

Harald Eilertsen <[email protected]>
Newsgroups gmane.os.freebsd.devel.java
Message-ID <cmhhypluvmv5wvpcyuz62pbr7ju7zoswr3cegqfnirir3nwwnu@l7ryirntalwy>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.