8000 Support JDK 19 by Philippus · Pull Request #10001 · scala/scala · GitHub
[go: up one dir, main page]

Skip to content

Support JDK 19 #10001

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

Merged
merged 2 commits into from
Apr 21, 2022
Merged

Support JDK 19 #10001

merged 2 commits into from
Apr 21, 2022

Conversation

Philippus
Copy link
Member
@Philippus Philippus commented Apr 13, 2022

Applying this PR will:

  • make -target support JDK 19
  • upgrade to ASM 9.3, for JDK 19 support in optimizer
  • add a test for -target:jvm-7

modeled after #9489. Fixes scala/bug#12570 for scala 2.13.x.
2.12.x PR is #10000

I think there's first some work to be done in https://github.com/scala/scala-asm.

@scala-jenkins scala-jenkins added this to the 2.13.9 milestone Apr 13, 2022
@SethTisue SethTisue marked 8000 this pull request as draft April 13, 2022 19:45
@SethTisue SethTisue self-assigned this Apr 13, 2022
@lrytz
Copy link
Member
lrytz commented Apr 21, 2022

Published scala-asm 9.3.0-scala-1. The build fails with

[error] did you mean V10, V11, V12, or V13?
[error]     case "19" => asm.Opcodes.v19
[error]                              ^

@Philippus
Copy link
Member Author

That should be a V instead of a v, I'll fix it.

@Philippus Philippus force-pushed the issue-12570-scala213 branch from b8bfb0d to 528b726 Compare April 21, 2022 14:47
@lrytz lrytz marked this pull request as ready for review April 21, 2022 18:49
@lrytz lrytz requested a review from SethTisue April 21, 2022 18:49
@SethTisue SethTisue added the release-notes worth highlighting in next release notes label Apr 21, 2022
@SethTisue SethTisue merged commit 79a7324 into scala:2.13.x Apr 21, 2022
@Philippus Philippus deleted the issue-12570-scala213 branch April 21, 2022 19:39
@som-snytt
Copy link
Contributor
som-snytt commented Apr 22, 2022

There will be have been conflicts with #9982

@SethTisue SethTisue changed the title Support JDK19 Support JDK 19 Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes worth highlighting in next release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to asm 9.3 for Java 19
5 participants
0