Skip to content

fix: win32 terminal interface via native image#287

Open
sgammon wants to merge 1 commit into
ajalt:masterfrom
elide-tools:fix/native-image-win32
Open

fix: win32 terminal interface via native image#287
sgammon wants to merge 1 commit into
ajalt:masterfrom
elide-tools:fix/native-image-win32

Conversation

@sgammon

@sgammon sgammon commented Feb 2, 2026

Copy link
Copy Markdown

Fixes use of SVM Word types, via the Native Image C API on Windows. Such types cannot be intermixed with with regular JVM Object types. Newer versions of the compiler find and enforce this, leading to failures at build time.

Fixes and closes #286

cc / @ajalt big fan btw, hi again, we are using Mordant in Elide! 😄

Fixes use of SVM `Word` types, via the Native
Image C API on Windows. Such types cannot be
intermixed with with regular JVM `Object` types.
Newer versions of the compiler find and enforce
this, leading to failures at build time.

Fixes and closes ajalt#286

Signed-off-by: Sam Gammon <sam@elide.dev>
@ajalt

ajalt commented Feb 2, 2026

Copy link
Copy Markdown
Owner

Thank you! It looks like you changed the indent to 2 spaces, which adds noise and doesn't match the rest of the project. Can you undo that?

@sgammon

sgammon commented Feb 2, 2026

Copy link
Copy Markdown
Author

@ajalt Yes, sorry, I was hoping to test with CI because I couldn't get the build working locally off the bat. What version of Java should I be using? And are you using Spotless here, or how do I format?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Native Image C API breakage on Windows

2 participants