-
Notifications
You must be signed in to change notification settings - Fork 21
compiler does not work with "-opt:l:method" on JDK10 #10717
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
Comments
So this issue should fix itself when we upgrade to asm 6.1 (not yet released), which will include the two commits listed above. |
6.1 is released now https://mail.ow2.org/wws/arc/asm/2018-03/msg00000.html |
Is there a plan to upgrade to ASM 6.1 in the Scala 2.12 series? |
In general we keep ASM up to date, so I'll probably do it for 2.12. Watching the asm issue tracker, I saw one regression in 6.1 that might be relevant to us: https://gitlab.ow2.org/asm/asm/issues/317815. If we do the update we need to look at this in more detail to see if it affects us. In any case, I'm busy right now with other stuff :) |
Thanks for the information. |
ASM 6.1.1 has been tagged and also availabe via the maven repos already. |
@lrytz Feasible in 2.12.6? |
|
We will (carefully) consider an ASM upgrade for 2.12.7, but not 2.12.6. |
It would be a big help if someone could submit our patches in scala/scala-asm upstream to https://gitlab.ow2.org/asm/asm, so that we could switch to using an official asm release. That would simplify upgrading to the latest ASM a lot! (EDIT: the differences are small, but essential for us -- we think they could all go upstream, but just haven't found the time to do so...) |
I got the same compiler crash on JDK 10 with Scala 2.12.x.
Sources: https://github.com/plokhotnyuk/jsoniter-scala It fails with 2.12.4 too, but works fine for 2.11.12: |
Just for reference; ASM 6.1.x has an issue that might affect us (https://gitlab.ow2.org/asm/asm/merge_requests/160), which will be fixed only in 6.2 |
On JDK 10 I am getting the same while compiling Zinc, which recently added |
ASM 6.2 released with better JDK 10 support and even with JDK 11 support already! |
Switch to oraclejdk10 for Scala 2.11.12 only, it doesn't compile for 2.12.6, see scala/bug#10717
@lrytz referenced pr merged to 2.13.x branch only... will it be backported to 2.12.x? |
it should be, let's keep this open. |
FYI, similar issue with JDK12+ #11372 |
The text was updated successfully, but these errors were encountered: