Skip to content

JSSC with Windows 10 (64 bit) and Java 9 #6788

Open
@wholder

Description

@wholder

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions