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

JDK9 modules compatibility: remove custom ForkJoin, sun.misc.Unsafe references #9381

Closed
scabug opened this issue Jul 3, 2015 · 3 comments
Closed

Comments

@scabug
Copy link

scabug commented Jul 3, 2015

As discussed at https://groups.google.com/forum/#!topic/scala-internals/WyT9juA2d3k, to gain compatibility with the module system coming in JDK9, the concurrent package should rely on the JVM version of the fork-join pool (instead of its own copy) and drop all dependencies on sun.misc.Unsafe.

@scabug
Copy link
Author

scabug commented Jul 3, 2015

Imported From: https://issues.scala-lang.org/browse/SI-9381?orig=1
Reporter: @VladUreche
Affected Versions: 2.12.0-M1

@scabug
Copy link
Author

scabug commented Jul 20, 2015

@SethTisue said (edited on Jul 20, 2015 3:11:29 PM UTC):
scala/scala#4629 removes our ForkJoin fork, but retains src/library/scala/concurrent/util/Unsafe.java, so not closing this ticket quite yet. we should be able to remove the last file once Akka 2.4-M3 is out; see akka/akka#18007 for details. we should make sure we have a green 2.12. community build with the removal, before merging the removal.

@scabug
Copy link
Author

scabug commented Aug 28, 2015

@SethTisue said (edited on Aug 28, 2015 6:30:07 PM UTC):
the sun.misc.Unsafe part: scala/scala#4712

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants