I'm experiencing something really strange, and I don't know what's causing it at all. This is the problematic line of code:
BufferedImage out = new BufferedImage(256, 256, BufferedImage.TYPE_INT_RGB);
Upon calling this, all threads freeze and everything stops. I've tried putting this in its own thread and the main thread, the same thing occurs. I am using LWJGL3, so that might be an issue, but I don't see how it could be.
Edit: Does not occur in a blank project without LWJGL in or out of -XstartOnFirstThread