-
Notifications
You must be signed in to change notification settings - Fork 146
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
Make project compilable against jdk8 #245
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run mvn spotless:apply
to pass the style checker
Looks like i've opened a can full of worms :-)
|
you can downgrade the plugin version locally to get it to run |
Agree, we known that
Originally posted by @ksumit in #244 (comment) |
@charlesy6 the jar produced currently is java8 compatible. We use the build target for that. |
@the-other-tim-brown, but this is very unfriendly to developers. |
@charlesy6 forcing people to downgrade would be just as unfriendly so if there is a way to make the build tooling work with both versions then we should pursue that. It looks like Iceberg and Paimon support multiple versions in their setup so let's take some inspiration from them. |
emm, I think ksumit's reasons in the issues are already very clear. |
@charlesy6 care to elaborate? There is discussion in the issue about allowing users to develop with a more modern java version while producing java packages that are capable of running in a java 8 environment. That is what we are doing today. I am suggesting that we allow java 11 and java 8 for developers to build locally instead of just java 11 by using similar setup. |
CI report:
Bot commands@xtable-bot supports the following commands:
|
@ksumit can you rebase the main branch? This branch has conflicts that must be resolved. |
I can rebase it but we don't have agreement on the next steps. Argument 1: Developers want to use new jdk features and new syntaxes and we are building "jdk8 compatible jars" anyways. After talking to @ashvina and @the-other-tim-brown offline, they felt strongly about not taking away developer's ability to develop against latest JDK features and I think that's needed to attract more contributors. On the other hand, I don't have data to support Argument 2 as of now and so backed off. |
I missed to highlight that it's never going to be possible to build java 11 or higher syntax against jdk8. I'm inclined to close this PR without any change. |
What is the purpose of the pull request
Fixes #244
Brief change log
Verify this pull request
This pull request is a trivial rework / code cleanup without any test coverage.
$ mvn clean package -DskipTests
locally.