Run of fresh-releases for jboss-xnio

Try this locally (using silver-platter):

debian-svp new-upstream jboss-xnio 

Merge these changes:

git pull https://janitor.debian.net/git/jboss-xnio new-upstream

Summary

Merged new upstream version: 3.7.2 (was: 3.7.0).

Diff

=== modified file 'api/pom.xml'
--- a/api/pom.xml	2019-02-08 10:22:29 +0000
+++ b/api/pom.xml	2019-07-11 21:07:46 +0000
@@ -37,7 +37,7 @@
     <parent>
         <groupId>org.jboss.xnio</groupId>
         <artifactId>xnio-all</artifactId>
-        <version>3.7.0.Final</version>
+        <version>3.7.2.Final</version>
     </parent>
 
     <dependencies>
@@ -175,6 +175,7 @@
                     </includes>
                     <enableAssertions>true</enableAssertions>
                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
+                    <argLine>-Djdk.attach.allowAttachSelf</argLine>
                 </configuration>
             </plugin>
             <plugin>
@@ -186,7 +187,7 @@
                     <footer><![CDATA[XNIO API ]]>${project.version}</footer>
                     <bottom><![CDATA[<i>Copyright &#169; 2017 JBoss, a division of Red Hat, Inc.</i>]]></bottom>
                     <links>
-                        <link>http://java.sun.com/javase/8/docs/api/</link>
+                        <link>https://docs.oracle.com/javase/8/docs/api/</link>
                     </links>
                 </configuration>
             </plugin>

=== modified file 'api/src/main/java/org/xnio/FutureResult.java'
--- a/api/src/main/java/org/xnio/FutureResult.java	2015-09-16 13:26:12 +0000
+++ b/api/src/main/java/org/xnio/FutureResult.java	2019-07-11 21:07:46 +0000
@@ -36,11 +36,7 @@
      * @param executor the executor to use to execute listener notifiers.
      */
     public FutureResult(final Executor executor) {
-        ioFuture = new AbstractIoFuture<T>() {
-            protected Executor getNotifierExecutor() {
-                return executor;
-            }
-        };
+        ioFuture = new AbstractIoFuture<T>(){};
     }
 
     /**

=== modified file 'api/src/main/java/org/xnio/ssl/JsseSslConduitEngine.java'
--- a/api/src/main/java/org/xnio/ssl/JsseSslConduitEngine.java	2019-02-08 10:22:29 +0000
+++ b/api/src/main/java/org/xnio/ssl/JsseSslConduitEngine.java	2019-07-11 21:07:46 +0000
@@ -469,6 +469,10 @@
                         // given caller is reading, tell it to continue only if we can move away from  NEED_WRAP
                         // and flush any wrapped data we may have left
                         if (doFlush()) {
+                            if (result.getStatus() == SSLEngineResult.Status.CLOSED) {
+                                closeOutbound();
+                                return false;
+                            }
                             if (!handleWrapResult(result = engineWrap(Buffers.EMPTY_BYTE_BUFFER, buffer), true) || !doFlush()) {
                                 needWrap();
                                 return false;

=== modified file 'debian/changelog'
--- a/debian/changelog	2019-02-08 10:23:48 +0000
+++ b/debian/changelog	2019-07-11 21:07:46 +0000
@@ -1,3 +1,9 @@
+jboss-xnio (3.7.2-1) UNRELEASED; urgency=medium
+
+  * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 11 Jul 2019 21:07:41 +0000
+
 jboss-xnio (3.7.0-1) unstable; urgency=medium
 
   * New upstream version 3.7.0.

=== modified file 'debian/patches/maven-bundle-plugin-rules.patch'
--- a/debian/patches/maven-bundle-plugin-rules.patch	2018-03-19 10:10:01 +0000
+++ b/debian/patches/maven-bundle-plugin-rules.patch	2019-07-11 21:07:56 +0000
@@ -7,11 +7,11 @@
  api/pom.xml | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/api/pom.xml b/api/pom.xml
-index 05e49c6..43377f1 100644
---- a/api/pom.xml
-+++ b/api/pom.xml
-@@ -207,7 +207,7 @@
+Index: jboss-xnio/api/pom.xml
+===================================================================
+--- jboss-xnio.orig/api/pom.xml
++++ jboss-xnio/api/pom.xml
+@@ -208,7 +208,7 @@
                              *
                          </Import-Package>
                          <Require-Capability>

=== modified file 'nio-impl/pom.xml'
--- a/nio-impl/pom.xml	2019-02-08 10:22:29 +0000
+++ b/nio-impl/pom.xml	2019-07-11 21:07:46 +0000
@@ -31,7 +31,7 @@
     <parent>
         <groupId>org.jboss.xnio</groupId>
         <artifactId>xnio-all</artifactId>
-        <version>3.7.0.Final</version>
+        <version>3.7.2.Final</version>
     </parent>
     
     <properties>

=== modified file 'nio-impl/src/main/java/org/xnio/nio/QueuedNioTcpServer.java'
--- a/nio-impl/src/main/java/org/xnio/nio/QueuedNioTcpServer.java	2018-02-16 20:14:19 +0000
+++ b/nio-impl/src/main/java/org/xnio/nio/QueuedNioTcpServer.java	2019-07-11 21:07:46 +0000
@@ -27,6 +27,7 @@
 import java.net.ServerSocket;
 import java.net.Socket;
 import java.net.SocketAddress;
+import java.nio.channels.ClosedChannelException;
 import java.nio.channels.SelectionKey;
 import java.nio.channels.ServerSocketChannel;
 import java.nio.channels.SocketChannel;
@@ -480,8 +481,11 @@
                 IoUtils.safeClose(accepted);
                 return;
             }
+        } catch (ClosedChannelException e) {
+            tcpServerLog.logf(FQCN, Logger.Level.DEBUG, e, "ClosedChannelException occurred at accepting request on the server channel %s", channel);
+            return;
         } catch (IOException e) {
-            tcpServerLog.logf(FQCN, Logger.Level.DEBUG, e, "Exception accepting request, closing server channel %s", this);
+            tcpServerLog.logf(FQCN, Logger.Level.ERROR, e, "Exception accepting request, closing server channel %s", this);
             IoUtils.safeClose(channel);
             return;
         }

=== modified file 'nio-impl/src/main/java/org/xnio/nio/WorkerThread.java'
--- a/nio-impl/src/main/java/org/xnio/nio/WorkerThread.java	2018-02-16 20:14:19 +0000
+++ b/nio-impl/src/main/java/org/xnio/nio/WorkerThread.java	2019-07-11 21:07:46 +0000
@@ -334,7 +334,7 @@
                     }
                 }
             } catch (IOException e) {
-                selectorLog.tracef("ConnectHandle.handleReady Exception, " + e);
+                selectorLog.tracef("ConnectHandle.handleReady Exception, %s", e);
                 futureResult.setException(e);
             } finally {
                 if (!ok) {
@@ -621,7 +621,7 @@
         }
         synchronized (workLock) {
             selectorWorkQueue.add(command);
-            log.tracef("Added task " + command);
+            log.tracef("Added task %s", command);
         }
         if (polling) { // flag is always false if we're the same thread
             selector.wakeup();

=== modified file 'pom.xml'
--- a/pom.xml	2019-02-08 10:22:29 +0000
+++ b/pom.xml	2019-07-11 21:07:46 +0000
@@ -32,7 +32,7 @@
     <artifactId>xnio-all</artifactId>
     <packaging>pom</packaging>
     <name>XNIO Parent POM</name>
-    <version>3.7.0.Final</version>
+    <version>3.7.2.Final</version>
     <description>The aggregator POM of the XNIO project</description>
 
     <licenses>
@@ -49,10 +49,10 @@
     </modules>
 
     <properties>
-        <byteman-version>3.0.3</byteman-version>
-        <version.org.jboss.logging.jboss-logging>3.3.1.Final</version.org.jboss.logging.jboss-logging>
-        <version.org.jboss.logging.jboss-logging-tools>2.1.0.Final</version.org.jboss.logging.jboss-logging-tools>
-        <version.org.jboss.logmanager.jboss-logmanager>2.0.7.Final</version.org.jboss.logmanager.jboss-logmanager>
+        <byteman-version>4.0.6</byteman-version>
+        <version.org.jboss.logging.jboss-logging>3.4.0.Final</version.org.jboss.logging.jboss-logging>
+        <version.org.jboss.logging.jboss-logging-tools>2.2.0.Final</version.org.jboss.logging.jboss-logging-tools>
+        <version.org.jboss.logmanager.jboss-logmanager>2.1.10.Final</version.org.jboss.logmanager.jboss-logmanager>
         <version.org.jboss.threads>2.3.0.Beta2</version.org.jboss.threads>
         <version.org.wildfly.common>1.3.0.Final</version.org.wildfly.common>
         <version.org.wildfly.client-config>1.0.0.Final</version.org.wildfly.client-config>

Full build log Full worker log