usethesource / rascal-language-servers

An LSP server for Rascal which includes an easy-to-use LSP generator for languages implemented in Rascal, and an interactive terminal REPL.
BSD 2-Clause "Simplified" License
10 stars 7 forks source link

Refactored utf8 codepoint fix to avoid internal jline classes #331

Closed DavyLandman closed 9 months ago

DavyLandman commented 9 months ago

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.

sonarcloud[bot] commented 9 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication