You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by GitBox <gi...@apache.org> on 2022/12/10 09:40:46 UTC

[GitHub] [mina-sshd] tomaswolf commented on issue #285: Compilation error due to ExecutorService API change in JDK 19

tomaswolf commented on issue #285:
URL: https://github.com/apache/mina-sshd/issues/285#issuecomment-1345200983

   Ooof. An API break in the JDK that's not even mentioned in the [change notes](https://www.oracle.com/java/technologies/javase/19-relnote-issues.html). (At least I didn't see it there.)
   
   That's going to be "fun" to sort out. It's the kind of fun I could do without.
   
   The immediate issue seems to be that `org.apache.sshd.common.Closeable` has a default method for close(), and now the ExecutorService also does. Additionally `org.apache.sshd.common.Closeable` wrongly extends `java.nio.channels.Channel`. Just having an isOpen() and a close() method doesn't make it a channel.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org