Open NorbertSandor opened 4 years ago
It seems that jssc
crashes. If jSerialComm that you propose in #41 doesn't fail on Graal, this issue get solved by implementing a Transport
interface using working library.
I didn't mean supporting Graal when building the library but I would highly appreciate if you contribute a solution to this issue.
The implementation proposed in #43 works with GraalVM as well.
It sounds like this is under control, but a further data point, just in case: Same issue with AdoptOpenJDK 11.0.7 on Windows.
A quick update: JSerialCommTransport solved the problem for me too. Thanks!
Based on issues I had with an older version of nrjavaserial, I suspect that the original problem occurs on Windows with any JVM newer than 8.
I now have the exact same crash on Windows with pure OpenJDK 8 & 11, I am fairly sure it worked before without any update to the JDK in the meantime, so maybe some Windows update broke jssc here?
The new serial transport from #43 works fine for me as well.
It is easy to reproduce: calling
org.firmata4j.IODevice.start()
always crashes the JVM: