I tried to get the constructor of this Java class like this:
constructor = JNI.createMemberMethod("io.socket.client.IO$Options", "<init>", "()V");
No crash so I assumed it’s going well. But how do I use it? I have been wrapping all the construction in Java methods but now I’m starting to think how nice it would be if I can use the constructors directly.