nextflow-io / nextflow

A DSL for data-driven computational pipelines
http://nextflow.io
Apache License 2.0
2.61k stars 605 forks source link

Target java17 #5045

Closed pditommaso closed 2 weeks ago

pditommaso commented 3 weeks ago

This set Java 17 as target bytecode generation and lang compatibility.

TLDR; so far mock created by Spock used cglib, which is not maintained anymore and does not support Java 17. Bytebuddy should replace it, but some tests fail.

https://spockframework.org/spock/docs/2.0-M4/faq.html

netlify[bot] commented 3 weeks ago

Deploy Preview for nextflow-docs-staging canceled.

Name Link
Latest commit 5e5768bf31f6d73b70e5aceeb06c16bb8fd174b3
Latest deploy log https://app.netlify.com/sites/nextflow-docs-staging/deploys/665ce616b0e5ba0008635ae8
pditommaso commented 3 weeks ago

@bentsherman when you have some chance, it would be nice to fix the failing tests so we can move to Java 17 as target bytecode

bentsherman commented 3 weeks ago

So this will drop support for Java 11?

pditommaso commented 3 weeks ago

Yes, it may be needed to drop support for Java 11 since it's becoming more and more complicated to make coexisting different projects with Java 11 as baseline

pditommaso commented 2 weeks ago

Not needed in the short term. Closing for now