apache / apache/lucene

Jenkins runs with obsolete java 21, causing errorprone errors

Open
#16,639 0 comments 0 reactions 0 assignees View on GitHub
type:task
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

### Description

We get odd errors from errorprone that don't reproduce on main. This is due to JDK-8225377; jenkins has a very old JDK 21 release and that's why this happens there.

https://issues.apache.org/jira/browse/INFRA-28365

I'll temporarily disable this error prone check on 10x.

Contributor guide

Open the contributing guide

Research direction

Start with the Jenkins environment details in INFRA-28365 and compare its JDK 21 release with the version used on main. Confirm that the obsolete JDK causes the Error Prone failures, and consider the temporary 10x check disablement complete only once Jenkins runs with a compatible JDK without those errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.