[
https://issues.apache.org/jira/browse/SSHD-1285?focusedWorklogId=797532&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-797532
]
ASF GitHub Bot logged work on SSHD-1285:
----------------------------------------
Author: ASF GitHub Bot
Created on: 03/Aug/22 08:15
Start Date: 03/Aug/22 08:15
Worklog Time Spent: 10m
Work Description: norrisjeremy commented on PR #235:
URL: https://github.com/apache/mina-sshd/pull/235#issuecomment-1203632844
The `pom.xml` for this project already has the following, so it seems more
consistent to do it the way I proposed:
```
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${javac.source}</source>
<target>${javac.target}</target>
...
```
Issue Time Tracking
-------------------
Worklog Id: (was: 797532)
Time Spent: 40m (was: 0.5h)
> 2.9.0 release broken on Java 8
> ------------------------------
>
> Key: SSHD-1285
> URL: https://issues.apache.org/jira/browse/SSHD-1285
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 2.9.0
> Environment: macOS
> Reporter: Jeremy Norris
> Priority: Critical
> Fix For: 2.9.1
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> It appears the 2.9.0 release is broken on Java 8:
> [sshd-SshServer[130ad58d](port=7777)-nio2-thread-5] DEBUG
> org.apache.sshd.common.io.nio2.Nio2Acceptor - Caught NoSuchMethodError while
> accepting incoming connection from /127.0.0.1:7777:
> java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer;
> java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer;
> at
> org.apache.sshd.common.io.nio2.Nio2Session.doReadCycle(Nio2Session.java:455)
> at
> org.apache.sshd.common.io.nio2.Nio2Session.doReadCycle(Nio2Session.java:334)
> at
> org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:327)
> at
> org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:323)
> at
> org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:319)
> at
> org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:315)
> at
> org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:311)
> at
> org.apache.sshd.common.io.nio2.Nio2Acceptor$AcceptCompletionHandler.onCompleted(Nio2Acceptor.java:305)
> at
> org.apache.sshd.common.io.nio2.Nio2Acceptor$AcceptCompletionHandler.onCompleted(Nio2Acceptor.java:260)
> at
> org.apache.sshd.common.io.nio2.Nio2CompletionHandler.lambda$completed$0(Nio2CompletionHandler.java:38)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:37)
> at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
> at sun.nio.ch.Invoker$2.run(Invoker.java:218)
> at
> sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:750)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]