JSSC with Windows 10 (64 bit) and Java 9
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 7k
- PR merge metrics
- No merged PRs in 30d
Description
I'm posting this as a possible "heads up" for a potential future problem for the Arduino IDE. I use JSSC for serial I/O with Java and some time back Arduino switched to JSSC (from RXTX) for its serial I/O, so I think a problem I just started having with JSSC on Windows 10 (64 bit) with the new Java 9 release may potentially be an issue for the Arduino IDE in the future. For details, see the JSSC wiki entry I posted here:
https://github.com/scream3r/java-simple-serial-connector/issues/116
I've included some simple Java test code in the wiki entry that demonstrates the problem but, basically, a call to `openPort()` to open a serial connection just completely crashes the JVM. I'm not an expert at reading Windows stack traces, but I think the issue my result from this call:
` DCB *dcb = new DCB();`
in `Java_jssc_SerialNativeInterface_openPort()`.
Wayne
Contributor guide
Research direction
Start with the linked JSSC issue #116 and its wiki entry, including the simple Java test code and the openPort() crash on Windows 10 64-bit with Java 9. The report names no Arduino file or test and does not define an acceptance condition, so the completed change cannot be determined from this issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop-dev, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100