On Mon, 8 Jan 2024 13:03:22 GMT, Jiří Vaněk <[email protected]> wrote:

> This PR is fixig to-old values of javac source/target for jdk22.
> Note, that jdk21 suffers the same, only the target values have to be 8. I 
> will be happy to backport this cange to jdk17 later.
> 
> Note, that considering the rolling release of jdk and the reached threshold 
> of bytecode compatibility, we will be forced to do this bump every STS, so 
> best would be to drop this hardcoded limitation. As it obtains a bit more 
> coding, I had filled the 
> [JDK-8323169](https://bugs.openjdk.org/browse/JDK-8323169) - [ j2dbench need 
> constant updating of javac source/target 
> ](https://bugs.openjdk.org/browse/JDK-8323169)  and will be happy to fit it 
> for jdk asap once this direct fix bubbles to jdk21

Yes! Except the jdk7 source target :) Thats no go for jdk 21,22 and 23... 

So what now?
My proposal is to merge this(to make it working in 8-21). Backport it to jdk21, 
and for jkd23 write a JEP and move it out of the jdk repo to its own repo or 
repos, and solve any source/target like problems here.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/17303#issuecomment-1898786466

Reply via email to