Skip to content
Commits on Source (4)
![build status](https://travis-ci.org/openhab/jmdns.svg)
![build status](https://travis-ci.org/jmdns/jmdns.svg)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.jmdns/jmdns/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.jmdns/jmdns)
[![Javadocs](http://www.javadoc.io/badge/org.jmdns/jmdns.svg)](http://www.javadoc.io/doc/org.jmdns/jmdns)
......
jmdns (3.5.5-1) unstable; urgency=medium
* Team upload.
* New upstream release
* Standards-Version updated to 4.3.0
-- Emmanuel Bourg <ebourg@apache.org> Fri, 11 Jan 2019 13:26:20 +0100
jmdns (3.5.4-2) unstable; urgency=medium
* Team upload.
......
......@@ -12,7 +12,7 @@ Build-Depends:
libmaven-javadoc-plugin-java,
libslf4j-java,
maven-debian-helper
Standards-Version: 4.2.1
Standards-Version: 4.3.0
Vcs-Git: https://salsa.debian.org/java-team/jmdns.git
Vcs-Browser: https://salsa.debian.org/java-team/jmdns
Homepage: https://github.com/jmdns/jmdns
......
<feature
id="org.jmdns.feature"
label="JmDNS"
version="3.5.4"
version="3.5.5"
provider-name="JmDNS.org">
<description>
......
......@@ -5,7 +5,7 @@
<parent>
<groupId>org.jmdns.p2</groupId>
<artifactId>features</artifactId>
<version>3.5.4</version>
<version>3.5.5</version>
</parent>
<artifactId>org.jmdns.feature</artifactId>
......
......@@ -7,7 +7,7 @@
<parent>
<groupId>org.jmdns.p2</groupId>
<artifactId>pom</artifactId>
<version>3.5.4</version>
<version>3.5.5</version>
</parent>
<artifactId>features</artifactId>
......
......@@ -6,7 +6,7 @@
<groupId>org.jmdns.p2</groupId>
<artifactId>pom</artifactId>
<version>3.5.4</version>
<version>3.5.5</version>
<packaging>pom</packaging>
<name>JmDNS p2</name>
......@@ -39,7 +39,7 @@
<my.encoding>UTF-8</my.encoding>
<tycho.groupId>org.eclipse.tycho</tycho.groupId>
<tycho.extras.groupId>org.eclipse.tycho.extras</tycho.extras.groupId>
<tycho.version>0.23.1</tycho.version>
<tycho.version>1.1.0</tycho.version>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
</properties>
......
......@@ -5,7 +5,7 @@
<parent>
<groupId>org.jmdns.p2</groupId>
<artifactId>pom</artifactId>
<version>3.5.4</version>
<version>3.5.5</version>
</parent>
<artifactId>org.jmdns.repository</artifactId>
......
......@@ -5,7 +5,7 @@
<parent>
<groupId>org.jmdns.p2</groupId>
<artifactId>pom</artifactId>
<version>3.5.4</version>
<version>3.5.5</version>
</parent>
<artifactId>targetplatform</artifactId>
......
......@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jmdns</groupId>
<artifactId>jmdns</artifactId>
<version>3.5.4</version>
<version>3.5.5</version>
<name>JmDNS</name>
<packaging>jar</packaging>
<description>JmDNS is a Java implementation of multi-cast DNS and can be used for service registration and discovery in local area networks. JmDNS is fully compatible with Apple's Bonjour.
......
#!/bin/sh
mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=$1
cd p2
mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=$1
cd ..
......@@ -268,6 +268,12 @@ public final class DNSIncoming extends DNSMessage {
IOException ioe = new IOException("DNSIncoming corrupted message");
ioe.initCause(e);
throw ioe;
} finally {
try {
_messageInputStream.close();
} catch (Exception e) {
logger.warn("MessageInputStream close error");
}
}
}
......
......@@ -1018,15 +1018,12 @@ public class JmDNSImpl extends JmDNS implements DNSStatefulObject, DNSTaskStarte
info.addAddress(_localHost.getInet4Address());
info.addAddress(_localHost.getInet6Address());
this.waitForAnnounced(DNSConstants.SERVICE_INFO_TIMEOUT);
this.makeServiceNameUnique(info);
while (_services.putIfAbsent(info.getKey(), info) != null) {
this.makeServiceNameUnique(info);
}
this.startProber();
info.waitForAnnounced(DNSConstants.SERVICE_INFO_TIMEOUT);
logger.debug("registerService() JmDNS registered service as {}", info);
}
......