Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify SerialPort to implement java.io.Closeable #50

Open
wants to merge 1 commit into
base: 2.8.1-experimental
Choose a base branch
from
Open

Modify SerialPort to implement java.io.Closeable #50

wants to merge 1 commit into from

Conversation

MrDOS
Copy link

@MrDOS MrDOS commented Jul 26, 2014

Per #48 (and its dependency on #47), this patch causes SerialPort to implement java.io.Closeable. This permits the operation of general I/O-related components upon jSSC-provided serial ports. Importantly, this enables the use of Java 7 try-with-resources statements with serial ports.

@chabala
Copy link

chabala commented Apr 3, 2015

@scream3r Please review and accept this PR

hiddenalpha pushed a commit to hiddenalpha/jssc that referenced this pull request May 18, 2021
Adds back platform detection; accidentally removed with 00e81c0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants