From nobody Wed Aug 27 12:29:37 2025 X-Original-To: freebsd-java@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with UTF8SMTP id 4cBkPS0fRmz66CWp for ; Wed, 27 Aug 2025 12:29:48 +0000 (UTC) (envelope-from haraldei@anduin.net) Received: from mail.anduin.net (mail.anduin.net [185.42.170.45]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with UTF8SMTPS id 4cBkPR5cjxz3fC8 for ; Wed, 27 Aug 2025 12:29:47 +0000 (UTC) (envelope-from haraldei@anduin.net) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=anduin.net; s=dkim2021; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=G8bEtbS7QN6cTPAMRHXg3FQdySCxxKVCQTbeOWKgVLs=; t=1756297787; x=1757161787; b=e/K7WK8mU1lnNFlpVO0OGuxD2qRiZkYNBGC188VUjEL3kKvMaYyHOERPNHkRMaLd5FYFIlslZgf fyxlc8D8ar6ZHTKky9P7hLspk8n4aerKojbWo0Jcn9EPrvOuRWuMPCUhUSvc7kp9BfccG2b0p1aMj z5NsPU1BTB4dB59dzjn/fxkkuEc9pBkWjRYOUaKzw6dWvC9TG4NuHiZ3/j8pWv8uCsEVA8xVe4GE5 buKmW6Walqn7GfF/G3ZoJoJIH6ArC4EPRmDGP1f1hznmwHfrY9TI+Am0P4pP+EcyEaqrsjiRfdzcQ VmptkYotacRFPb1g8GJJLr8BEEBqmxXFcD7w==; Received: by mail.anduin.net with utf8esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.97.1 (FreeBSD)) (envelope-from ) id 1urFHW-0000000059d-11n0; Wed, 27 Aug 2025 12:29:40 +0000 Date: Wed, 27 Aug 2025 14:29:37 +0200 From: Harald Eilertsen To: Alexander Leidinger Cc: FreeBSD Java Subject: Re: Is this an issue in our openjdk21 port, or a 3rd party issue? Message-ID: Mail-Followup-To: Alexander Leidinger , FreeBSD Java References: <13910fe7a350b33ab280296f3642d2c1@Leidinger.net> List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <13910fe7a350b33ab280296f3642d2c1@Leidinger.net> X-SA-Authenticated: Yes X-Spam-Score: -1.9 X-Spam-Level: - X-Spam-Report: host: mail.modirum.com | contact: hostmaster@modirum.com | scores: BAYES_00=-1.9,NO_RELAYS=-0.001 | autolearn=no autolearn_force=no, score=0 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:62248, ipnet:185.42.170.0/24, country:EE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cBkPR5cjxz3fC8 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