-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnsupportedOperationException when trying to copy files from a NodeArray's root path on JDK 21 #209
Comments
Try use the IO.copyDir() version that takes two Path objects, not File objects. |
@joakime that's exactly the version that was used, so I modified the description to reflect that. The problem seems to be that JDK 21 takes a different codepath through the orchestrator's I'm going to check what it takes to replace SSHJ with Apache Mina SSH, as they already have a sftp nio Filesystem implementation we could simply wrap. An extra benefit would be that the orchestrator's node filesystem would support writing to it, which would allow uploading files to the nodes. If that is too much work, I'll try to come up with an implementation of |
Signed-off-by: Ludovic Orban <[email protected]>
Signed-off-by: Ludovic Orban <[email protected]>
Signed-off-by: Ludovic Orban <[email protected]>
When using Jetty 12's
org.eclipse.jetty.util.IO.copyDir(Path, Path)
helper to copy aNodeArray
's root path, the following exception is thrown:Running the same code with JDK 17 works fine.
The text was updated successfully, but these errors were encountered: