Update nrjavaserial to 3.20.0 (#1426)

Updates nrjavaserial to the official 3.20.0 release (compatible with Java 8/11).
With the upgraded version the library will no longer crash the Java 11 VM on Windows.
The native libraries now use the built in RXTX lockfiles instead of the previously used (OS dependent) liblockdev whereas the OH build didn't use any lockfiles at all.
It also has a fix for errors being printed when scanning for serial ports whenever a serial port is locked (NeuronRobotics/nrjavaserial#166).
With the new version RXTX threads also have proper names and there is a fix for an IllegalMonitorStateException that might occur when closing ports.

Fixes #1384

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born
2020-04-15 11:10:55 +02:00
committed by GitHub
parent b734c2cc04
commit 66da3a7912
3 changed files with 4 additions and 14 deletions
+2 -7
View File
@@ -466,14 +466,9 @@
<!-- All serial transports -->
<dependency>
<groupId>org.openhab</groupId>
<groupId>com.neuronrobotics</groupId>
<artifactId>nrjavaserial</artifactId>
<!-- Use "no liblockdev" version -->
<!-- See: https://github.com/openhab/openhab-core/pull/761 -->
<!-- See: https://github.com/openhab/openhab-core/issues/750 -->
<!-- <groupId>com.neuronrobotics</groupId> -->
<!-- <version>3.15.0</version> -->
<version>3.15.0.OH2</version>
<version>3.20.0</version>
<scope>compile</scope>
</dependency>