Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Java 17 in matching #993

Merged
merged 1 commit into from
Feb 23, 2024
Merged

Support Java 17 in matching #993

merged 1 commit into from
Feb 23, 2024

Conversation

Scott-Guest
Copy link
Contributor

@Scott-Guest Scott-Guest commented Feb 23, 2024

This PR sets the Java version for scala-maven-plugin based on the parent POM, ensuring that we actually support Java 17 everywhere.

Blocked on runtimeverification/k#4032. (Or should be? Not sure why the build is passing here when ${java.version} hasn't been set in the master branch's parent POM yet.)

rv-jenkins pushed a commit to runtimeverification/k that referenced this pull request Feb 23, 2024
In #3736, we updated to Java 17 by configuring the Java version for
`maven-compiler-plugin`.

However - after banging my head against a wall for the past hour
wondering why none of my code is parsing 🙃 - I realized that the `kore`
and `matching` submodules are actually built by `scala-maven-plugin`
rather than `maven-compiler-plugin`, and their Java version must be set
independently.

This PR sets the version for `kore` to Java 17, and
runtimeverification/llvm-backend#993 will do the same for `matching`.
@rv-jenkins rv-jenkins merged commit 411cfc5 into master Feb 23, 2024
7 checks passed
@rv-jenkins rv-jenkins deleted the java-17-matching branch February 23, 2024 11:22
Baltoli pushed a commit that referenced this pull request Feb 27, 2024
This PR sets the Java version for `scala-maven-plugin` based on the
parent POM, ensuring that we actually support Java 17 everywhere.

Blocked on runtimeverification/k#4032. (Or should be? Not sure why the
build is passing here when `${java.version}` hasn't been set in the
master branch's parent POM yet.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants