Hi,

this is the first tiny step for #26767 by adding Java 17 to the known versions.

Cheers, Christoph

Comment From: dreis2211

The class comment of JavaVersion says Known Java versions. and not Supported Java Versions. I always saw it similar to Gradle's JavaVersion enum that includes 17 on version 6.9 already while not supporting it.

I don't have strong feelings against holding this back until we have a better picture for Java 17, but for me JavaVersion is not really connected to either running or supporting the respective version. Rather an acknowledgement of the version - nothing more nothing less. But in the end it's totally fine if this PR is staying open for a while - it's not really needed to get a green build for Java 17 anyway.

Comment From: wilkinsona

Thanks once again, @dreis2211.