Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2025 14:29:37 +0200
From:      Harald Eilertsen <haraldei@anduin.net>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        FreeBSD Java <freebsd-java@freebsd.org>
Subject:   Re: Is this an issue in our openjdk21 port, or a 3rd party issue?
Message-ID:  <cmhhypluvmv5wvpcyuz62pbr7ju7zoswr3cegqfnirir3nwwnu@l7ryirntalwy>
In-Reply-To: <13910fe7a350b33ab280296f3642d2c1@Leidinger.net>
References:  <13910fe7a350b33ab280296f3642d2c1@Leidinger.net>

index | next in thread | previous in thread | raw e-mail

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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cmhhypluvmv5wvpcyuz62pbr7ju7zoswr3cegqfnirir3nwwnu>