Skip to content

Update jdk 17 version to unbreak the PDFBox build #13860

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tballison
Copy link
Contributor

@tballison tballison commented Aug 22, 2025

This updates the version of jdk17 to 17.0.16+8.

This update is required to build PDFBox: https://issues.apache.org/jira/browse/PDFBOX-6051?focusedCommentId=18015721&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-18015721

PDFBox is no longer building in ossfuzz:
https://oss-fuzz-build-logs.storage.googleapis.com/log-907a41b7-64fc-4a03-a728-a4b5bbf8042a.txt

and the error message is consistent with PDFBOX-6051:

Fatal error compiling: error: invalid flag: -proc:full

I confirmed locally that infra/base-images/all.sh creates a jvm base that in turn allows pdfbox to build.

I have NOT tested this across all projects.

@tballison
Copy link
Contributor Author

This PR moves to temurin from Oracle for jdk 17. This felt easier for the license issue with Oracle, but it hurts to have two different jdks.

We may want to figure out if we need jdk 15, which isn't LTS and not supported anymore. That work would be on a different PR/ticket.

@tballison tballison changed the title Update jdk 17 version Update jdk 17 version to unbreak the PDFBox build Aug 22, 2025
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.

1 participant