Description: Fixes the compatibility with Java 11
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/src/java/net/sf/jftp/util/JReciever.java
+++ b/src/java/net/sf/jftp/util/JReciever.java
@@ -92,7 +92,7 @@
 
     public void reset(DataInputStream in)
     {
-        reciever.destroy();
+        reciever.interrupt();
         this.in = in;
         reciever = new Thread(this);
         reciever.start();
