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

Record JDK version in metadata #29

Merged
merged 2 commits into from
Sep 27, 2023
Merged

Conversation

wtwhite
Copy link
Collaborator

@wtwhite wtwhite commented Sep 27, 2023

Add an optional jdkVersion field, with a constrained set of permitted values, to use for building and testing PoVs. shadedetector will use this to generate a suitable JAVA_HOME environment variable setting. Set this field for CVE-2016-2510.

Why not just add an optional environment field instead, which is more flexible? Because that would mean hardcoding JAVA_HOME=/some/path, and the right path can vary across platforms.

@wtwhite wtwhite self-assigned this Sep 27, 2023
@wtwhite wtwhite merged commit e7a36cb into main Sep 27, 2023
2 checks passed
@wtwhite wtwhite deleted the record-jdk-version-in-metadata branch September 27, 2023 23:44
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