RE: [EXT] Re: [DISCUSS] Some potential additional system properties/CompilerConfiguration flags for Groovy 4

2021-09-22 Thread Milles, Eric (TR Technology)
I am not in favor of more system properties to switch behavior all around. If sealed classes are of interest, then a Java 17 JVM is a reasonable requirement. I think this can be applied to records, switch expressions, etc. To keep it simple, require the minimum Java version that supports a fe

Re: [EXT] Re: [DISCUSS] Some potential additional system properties/CompilerConfiguration flags for Groovy 4

2021-09-22 Thread Christopher Smith
I will concur in part and disagree in part with Eric: I think that as a broad rule it makes sense to baseline, but on JDK LTS releases, which it happens 17 is. That said, 17 seems likely to finally introduce serious breaking changes that have been warned about for a decade, and I absolutely predic