Skip to content

Upgrade to gradle 8.14 on branch_10x (backport). #14591

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

Merged
merged 4 commits into from
Apr 30, 2025

Conversation

dweiss
Copy link
Contributor

@dweiss dweiss commented Apr 30, 2025

This is a limited backport of #14533 bumping gradle to v8.14.

@@ -379,7 +379,9 @@ private static <A> MMapIndexInputProvider<A> lookupProvider() {
// access through the lookup:
final var constr = lookup.findConstructor(cls, MethodType.methodType(void.class, int.class));
try {
return (MMapIndexInputProvider<A>) constr.invoke(maxPermits);
@SuppressWarnings("unchecked")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed here? This was only to workaround a java 24 bug.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assumed that it'd still fail with javac 24 if you're running with that. But apparently it works so it (javac) must be --target (or --source, or --release) sensitive somehow.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's why I asked. The compilation with java 24 on Jenkins worked all the time.

It is only an issue if release is targeting 24. They had some language updates. But we should open a bug report about this.

I will make a reproducer and open issue for 24.

@dweiss dweiss merged commit f81008b into apache:branch_10x Apr 30, 2025
7 checks passed
@dweiss dweiss deleted the 10x-gradle-8.14 branch April 30, 2025 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants