Skip to content

Commit

Permalink
Upgrade nrjavaserial to fix file descriptor leak (#2899)
Browse files Browse the repository at this point in the history
Uses an openHAB 5.2.1.OH1 build based on the latest changes in the nrjavaserial master branch (https://github.com/NeuronRobotics/nrjavaserial/tree/7aa21d1dc8cecdc8daad3ebc40273cfb8179e9d2).
When there is an official release containing those changes we can upgrade to that.

Most importantly this fixes a file descriptor leak when checking lock dir permissions.
It also adds FreeBSD aarch64 (ARM64) support.

Fixes #1842

Signed-off-by: Wouter Born <[email protected]>
  • Loading branch information
wborn committed Apr 8, 2022
1 parent 93c5eae commit 3910284
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bom/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@
<dependency>
<groupId>com.neuronrobotics</groupId>
<artifactId>nrjavaserial</artifactId>
<version>5.2.1</version>
<version>5.2.1.OH1</version>
<scope>compile</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion features/karaf/openhab-tp/src/main/feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@

<feature name="openhab.tp-serial-rxtx" version="${project.version}">
<capability>openhab.tp;feature=serial;impl=rxtx</capability>
<bundle>mvn:com.neuronrobotics/nrjavaserial/5.2.1</bundle>
<bundle>mvn:com.neuronrobotics/nrjavaserial/5.2.1.OH1</bundle>
</feature>

<feature name="openhab.tp-xtext" description="Xtext - Language Engineering Made Easy" version="${project.version}">
Expand Down

0 comments on commit 3910284

Please sign in to comment.