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

[nomerge] Upgrade to asm 9.4, for JDK20 support #10185

Merged
merged 1 commit into from Nov 1, 2022

Conversation

Philippus
Copy link
Member

@Philippus Philippus commented Oct 8, 2022

nomerge, because there's a separate 2.13.x PR: #10184.

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

@scala-jenkins scala-jenkins added this to the 2.12.18 milestone Oct 8, 2022
@SethTisue SethTisue self-assigned this Oct 26, 2022
@SethTisue
Copy link
Member

I've been swamped in recent weeks, but now that the 2.13.10 dust has settled I do intend to get back to this.

@SethTisue SethTisue added the release-notes worth highlighting in next release notes label Nov 1, 2022
@SethTisue
Copy link
Member

SethTisue commented Nov 1, 2022

I manually tested this by installing a JDK 20 early access build on my Mac (with brew install java-beta) then partest grep optimiz. On HEAD it failed, then after git clean -ffxd and with these changes it succeeded (see below)

(I also had to temporarily remove the call to setSecurityManager from TrapExit.scala – 2.12.x doesn't have the Java 18+ test exclusions that Som made on 2.13.x.)

@SethTisue
Copy link
Member

with these changes it succeeded

what I mean is, it does at least as well as we were doing before on JDK 19, and that's the ambition level here.

here on 2.12.x we don't have as many tests passing on JDK 18+ as we do over in the 2.13.x branch (thanks to the efforts of @som-snytt and others)

@SethTisue SethTisue merged commit 0749999 into scala:2.12.x Nov 1, 2022
@SethTisue
Copy link
Member

Thank you Philippus!

@Philippus Philippus deleted the update/asm9.4-scala212 branch November 1, 2022 18:38
smarter added a commit to scala/scala3 that referenced this pull request Nov 1, 2022
dongjoon-hyun pushed a commit to apache/spark that referenced this pull request Jun 18, 2023
### What changes were proposed in this pull request?
This PR aims to upgrade Scala to 2.12.18
- https://www.scala-lang.org/news/2.12.18

### Why are the changes needed?
This release adds support for JDK 20 and 21:
- scala/scala#10185
- scala/scala#10362
- scala/scala#10397
- scala/scala#10400

The full release notes as follows:

- https://github.com/scala/scala/releases/tag/v2.12.18

### Does this PR introduce _any_ user-facing change?
Yes, this is a Scala version change.

### How was this patch tested?
Existing Test

Closes #41627 from LuciferYang/SPARK-43832.

Authored-by: yangjie01 <yangjie01@baidu.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
czxm pushed a commit to czxm/spark that referenced this pull request Jun 19, 2023
### What changes were proposed in this pull request?
This PR aims to upgrade Scala to 2.12.18
- https://www.scala-lang.org/news/2.12.18

### Why are the changes needed?
This release adds support for JDK 20 and 21:
- scala/scala#10185
- scala/scala#10362
- scala/scala#10397
- scala/scala#10400

The full release notes as follows:

- https://github.com/scala/scala/releases/tag/v2.12.18

### Does this PR introduce _any_ user-facing change?
Yes, this is a Scala version change.

### How was this patch tested?
Existing Test

Closes apache#41627 from LuciferYang/SPARK-43832.

Authored-by: yangjie01 <yangjie01@baidu.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
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
3 participants