Closed ericvergnaud closed 8 months ago
@KvanTTT Gh won't let me do a rebase-and-merge, so I'll have to do a squash-and-merge
Partially fixes #3
Thanks, I'll review a bit later: today's evening or tomorrow (I also have to work on my official work 😊)
I've encountered the following error during clean project building from your branch:
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project antlr5-runtime: Fatal error compiling: error: release version 17 not supported
Have you encountered it?
Well the reason for the -Xskip-prerelease-check is that without it I can't run the Kotlin tests locally, so it does relate to this PR (although not its title) Removing runtimes is a separate PR not yet filed, in this one I just disabled the CI for them because I can't be bothered fixing it for targets that will go away in the next PR. TBH the value you can bring here is to double-check the Kotlin related changes. But if you absolutely want to spit the PR then you could indeed put the Java version in a preliminary PR.
Re local build, is your JAVA_HOME pointing to java 17+ ? Or maybe it relates to your local maven settings ?
Re local build, is your JAVA_HOME pointing to java 17+ ? Or maybe it relates to your local maven settings ?
Yes, thanks, it was invalid JAVA_HOME
.
Well the reason for the -Xskip-prerelease-check is that without it I can't run the Kotlin tests locally, so it does relate to this PR (although not its title)
Could you clarify which error did you have? I sucessfully run all tests locally without this flag.
Well the reason for the -Xskip-prerelease-check is that without it I can't run the Kotlin tests locally, so it does relate to this PR (although not its title)
Could you clarify which error did you have? I sucessfully run all tests locally without this flag.
error: class 'org.antlr.v5.kotlinruntime.CharStream' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler (CharStream is just an example, hundreds of those)
Thanks for the squashing and clear commit message.
Manually merged commits dropped during kotlin runtime integration Disabled testing except for tool and java and kotlin runtimes