deephaven / deephaven-core

Deephaven Community Core
Other
257 stars 80 forks source link

chore: Bump the compiler, runtime, and test runtime version to Java 21 #6340

Closed devinrsmith closed 1 week ago

devinrsmith commented 2 weeks ago

Fixes #3997

devinrsmith commented 2 weeks ago

This is currently failing nightlies when run with Java 11 or 17, with the error

io.deephaven.lang.completion.ChunkerParserTest

java.lang.UnsupportedClassVersionError: io/deephaven/lang/completion/AllTokenIterableImpl has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0

devinrsmith commented 2 weeks ago

GroovyCompile has been updated to fix the UnsupportedClassVersionError error.

devinrsmith commented 2 weeks ago

Noted https://github.com/gradle/gradle/issues/18824, https://github.com/gradle/gradle/pull/22449 as links related to --add-exports and --release.