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

update scala to support java 21 #2139

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

slaupster
Copy link

A number of java interop issues have been resolved in scala:

https://github.com/scala/scala/pulls?q=label%3A%22java+interop%22+is%3Aclosed

As it stands compiling using jdk 21 fails with:

116.0 > Task :cruise-control:compileScala
116.0 error:
116.0   bad constant pool index: 0 at pos: 48461
116.0      while compiling: <no file>
116.0         during phase: globalPhase=<no phase>, enteringPhase=<some phase>
116.0      library version: version 2.13.10
116.0     compiler version: version 2.13.10

Its not clear which of the versions between .10 and .13 resolves it but I think its safe to move to .13 which also happens to resolve the compile issue.

This PR resolves #2138.

A number of java interop issues have been resolved in scala:

https://github.com/scala/scala/pulls?q=label%3A%22java+interop%22+is%3Aclosed

As it stands compiling using jdk 21 fails with:

```
116.0 > Task :cruise-control:compileScala
116.0 error:
116.0   bad constant pool index: 0 at pos: 48461
116.0      while compiling: <no file>
116.0         during phase: globalPhase=<no phase>, enteringPhase=<some phase>
116.0      library version: version 2.13.10
116.0     compiler version: version 2.13.10
```

Its not clear which of the versions between .10 and .13 resolves it but I think its safe to move to .13 which also happens to resolve the compile issue.
@slaupster slaupster changed the title update scala to support for java 21 update scala to suppor java 21 Apr 1, 2024
@slaupster slaupster changed the title update scala to suppor java 21 update scala to support java 21 Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

compile fails with java 21
2 participants