openjdk: mark 18 as EOL

This commit is contained in:
Martin Weinelt 2022-11-07 01:35:26 +01:00
parent 8eebbcbae5
commit 9af8b01842
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -5,7 +5,7 @@ lib: version: with lib; {
maintainers = with maintainers; [ edwtjo asbachb ];
platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" "armv7l-linux" "armv6l-linux" ];
mainProgram = "java";
knownVulnerabilities = optionals (builtins.elem (versions.major version) [ "12" "13" "14" "15" "16" ]) [
knownVulnerabilities = optionals (builtins.elem (versions.major version) [ "12" "13" "14" "15" "16" "18" ]) [
"This OpenJDK version has reached its end of life."
];
}