The original fix for the VS Code issues was using internal jline classes and reflection to get to them. I didn't like it, and also wanted to set the input code page (which wasn't possible via jline), so I found that JNA exists, and does exactly what we want: dynamically call into the windows kernel, without any local JNI needed.
The original fix for the VS Code issues was using internal jline classes and reflection to get to them. I didn't like it, and also wanted to set the input code page (which wasn't possible via jline), so I found that JNA exists, and does exactly what we want: dynamically call into the windows kernel, without any local JNI needed.