This repository has been archived on 2026-10-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
barn/src
Daniel SamsonandClaude Opus 4.5 7b45fce813 fix(native): handle native image in service start/restart
In GraalVM native images, java.home and java.class.path are null.
When starting the daemon process, detect if running as native image
using org.graalvm.nativeimage.imagecode property. If so, re-exec the
current executable instead of trying to spawn a JVM.

Fixes NullPointerException on Windows when running `barn service start`.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 00:21:26 +00:00
..