Describe the bug
GetWindowPosition crashes the JVM.
To Reproduce
Call rlj.core.GetWindowPosition();
Steps to reproduce the behavior:
Call rlj.core.GetWindowPosition();
See error
Expected behavior
Window position should be returned.
Code
Vector2 pos = rlj.core.GetWindowPosition();
Screenshots
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000101cecf60, pid=38033, tid=259
#
# JRE version: OpenJDK Runtime Environment Zulu17.46+19-CA (17.0.9+8) (build 17.0.9+8-LTS)
# Java VM: OpenJDK 64-Bit Server VM Zulu17.46+19-CA (17.0.9+8-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# C [libglfw.dylib+0xcf60]
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/bram/dev/paint/hs_err_pid38033.log
#
# If you would like to submit a bug report, please visit:
# http://www.azul.com/support/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Desktop (please complete the following information):
OS: macOS 14.6 23G80 arm64
Device: MacBook Air M1 2020
Additional context
Oddly enough, SetWindowPosition seems to be working.
Describe the bug GetWindowPosition crashes the JVM.
To Reproduce Call
rlj.core.GetWindowPosition();
Steps to reproduce the behavior:
rlj.core.GetWindowPosition();
Expected behavior Window position should be returned.
Code
Screenshots
Desktop (please complete the following information):
Additional context Oddly enough, SetWindowPosition seems to be working.
Full log: