Skip to content
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

Build does not work with JDK16 as gradle's runtime [LUCENE-10066] #11104

Closed
asfimport opened this issue Aug 24, 2021 · 3 comments
Closed

Build does not work with JDK16 as gradle's runtime [LUCENE-10066] #11104

asfimport opened this issue Aug 24, 2021 · 3 comments

Comments

@asfimport
Copy link

asfimport commented Aug 24, 2021

This is because of spotless trying to access internal APIs - can be worked around by opening them [1].

There is also an odd warning/ error about a deprecated constructor (singleton new Long(0)). I didn't look at it.

[1] diffplug/spotless#834 (comment)


Migrated from LUCENE-10066 by Dawid Weiss (@dweiss), resolved Aug 26 2021
Linked issues:

@asfimport
Copy link
Author

Dawid Weiss (@dweiss) (migrated from JIRA)

Created a PR that upgrades spotless and adds a few defaults to the auto-generated gradle.properties (you'll have to wipe your local copy to work with JDK16 or add these changes manually).

@asfimport
Copy link
Author

ASF subversion and git services (migrated from JIRA)

Commit 39a2fc6 in lucene's branch refs/heads/main from Dawid Weiss
https://gitbox.apache.org/repos/asf?p=lucene.git;h=39a2fc6

LUCENE-10066: Build does not work with JDK16 as gradle's runtime (#259)

@asfimport
Copy link
Author

Adrien Grand (@jpountz) (migrated from JIRA)

Closing after the 9.0.0 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants