Skip to content

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

Merged
dweiss merged 4 commits intoapache:branch_10xfrom
dweiss:10x-gradle-8.14
Apr 30, 2025
Merged

Upgrade to gradle 8.14 on branch_10x (backport).#14591
dweiss merged 4 commits intoapache:branch_10xfrom
dweiss:10x-gradle-8.14

Conversation

@dweiss
Copy link
Copy Markdown
Contributor

@dweiss dweiss commented Apr 30, 2025

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

final var constr = lookup.findConstructor(cls, MethodType.methodType(void.class, int.class));
try {
return (MMapIndexInputProvider<A>) constr.invoke(maxPermits);
@SuppressWarnings("unchecked")
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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