You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by "francescotimperi (via GitHub)" <gi...@apache.org> on 2025/05/26 10:10:12 UTC
[I] Does OpenWhisk support compilation with JDK17? [openwhisk]
francescotimperi opened a new issue, #5541:
URL: https://github.com/apache/openwhisk/issues/5541
I see that normally OpenWhisk is compiled using a JDK11 distribution, is there any plan or eventually someone that already experimented to build the project with a JDK 17 (or even newer) version?
I am trying to generate a native executable for the standalone, and actually succeded for linux and windows, but I would like to support also Apple Silicon. But this requires at least a GRAALVM jdk17.
Any idea?
--
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: issues-unsubscribe@openwhisk.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Does OpenWhisk support compilation with JDK17? [openwhisk]
Posted by "francescotimperi (via GitHub)" <gi...@apache.org>.
francescotimperi commented on issue #5541:
URL: https://github.com/apache/openwhisk/issues/5541#issuecomment-2916824441
@dgrove-oss I did an experiment with a JDK 17 (Temurin) and scala 2.12.10 (current default), upgrading to gradle 7.6.2 and ensure every plugin/library was aligned with this new setup. Per se I managed to compile everything without any warnings, but I faced two main problems:
- some tests started to fail
- scalafmt plugin started to report formatting issues on many scala files, so I have been forced to reformat the source code
I am trying to setup an environment to execute the tests locally, as via the GitHub actions it is not really practical right now to have some insights.
--
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: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Does OpenWhisk support compilation with JDK17? [openwhisk]
Posted by "dgrove-oss (via GitHub)" <gi...@apache.org>.
dgrove-oss commented on issue #5541:
URL: https://github.com/apache/openwhisk/issues/5541#issuecomment-2916767719
I think we'd welcome work to move the core OpenWhisk system from using JDK11 to more recent JDK LTS versions (JDK17 or JDK21). I'm not aware of any previous work in this direction.
--
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: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Does OpenWhisk support compilation with JDK17? [openwhisk]
Posted by "francescotimperi (via GitHub)" <gi...@apache.org>.
francescotimperi closed issue #5541: Does OpenWhisk support compilation with JDK17?
URL: https://github.com/apache/openwhisk/issues/5541
--
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: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Does OpenWhisk support compilation with JDK17? [openwhisk]
Posted by "francescotimperi (via GitHub)" <gi...@apache.org>.
francescotimperi commented on issue #5541:
URL: https://github.com/apache/openwhisk/issues/5541#issuecomment-2924942345
@dgrove-oss I opened a new pull request to contribute JDK17 support, with an upgrade to gradle 7.6.2. I believe that for the moment it will be better to stabilize on a JDK17, and eventually upgrade to JDK21 later.
--
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: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Does OpenWhisk support compilation with JDK17? [openwhisk]
Posted by "sciabarracom (via GitHub)" <gi...@apache.org>.
sciabarracom commented on issue #5541:
URL: https://github.com/apache/openwhisk/issues/5541#issuecomment-2916778586
Yes that would work - if there are failing test please post the issues as I think everyone would be happy to help
--
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: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Does OpenWhisk support compilation with JDK17? [openwhisk]
Posted by "dgrove-oss (via GitHub)" <gi...@apache.org>.
dgrove-oss commented on issue #5541:
URL: https://github.com/apache/openwhisk/issues/5541#issuecomment-2925691075
> [@dgrove-oss](https://github.com/dgrove-oss) I opened a new pull request to contribute JDK17 support, with an upgrade to gradle 7.6.2. I believe that for the moment it will be better to stabilize on a JDK17, and eventually upgrade to JDK21 later.
Thank you. That makes sense to me.
--
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: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Does OpenWhisk support compilation with JDK17? [openwhisk]
Posted by "francescotimperi (via GitHub)" <gi...@apache.org>.
francescotimperi commented on issue #5541:
URL: https://github.com/apache/openwhisk/issues/5541#issuecomment-2948978393
A PR contributing JDK 17 based compilation has been merged. Going to close the issue.
--
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: issues-unsubscribe@openwhisk.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org