BellSoft - BellSoft is starting a series called Solve This Java™ Snippet! The premise is straightforward: our expert engineers will give a short piece of code and then explain what is wrong
Failure when converting short string to UTF-16 error_code = 1 · Issue #5668 · realm/realm-java · GitHub
![Java's short spans from -32768 (=0x8000) but why do we have to cast 0x8000 to short explicitly? - Stack Overflow Java's short spans from -32768 (=0x8000) but why do we have to cast 0x8000 to short explicitly? - Stack Overflow](https://i.stack.imgur.com/VGFyD.png)