- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
scala-library 2.8 depends on sun.misc ?!
Tue, 2009-12-15, 12:57
Hi,
It looks like some classes in scala.concurrent.forkjoin depend on sun.misc.*Does that mean that Scala 2.8 will not run on a IBM VM?
Best regards,
Heiko Seeberger
My job: weiglewilczek.com
My blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web framework: liftweb.net
It looks like some classes in scala.concurrent.forkjoin depend on sun.misc.*Does that mean that Scala 2.8 will not run on a IBM VM?
Best regards,
Heiko Seeberger
My job: weiglewilczek.com
My blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web framework: liftweb.net
Tue, 2009-12-15, 14:07
#2
Re: scala-library 2.8 depends on sun.misc ?!
it will run on 1.5 and IBM -- we detect dynamically on which VM we're running and "fallback" as necessary
adriaan
On Tue, Dec 15, 2009 at 12:57 PM, Heiko Seeberger <heiko.seeberger@googlemail.com> wrote:
adriaan
On Tue, Dec 15, 2009 at 12:57 PM, Heiko Seeberger <heiko.seeberger@googlemail.com> wrote:
Hi,
It looks like some classes in scala.concurrent.forkjoin depend on sun.misc.*Does that mean that Scala 2.8 will not run on a IBM VM?
Best regards,
Heiko Seeberger
My job: weiglewilczek.com
My blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web framework: liftweb.net
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm for more information.
Tue, 2009-12-15, 14:17
#3
Re: scala-library 2.8 depends on sun.misc ?!
I believe if means that Scala will not compile against an IBM VM. Last time I looked there was a runtime check to detect an IBM VM, and if it detected one it would use a normal JDK5 Executor rather than the fork join one.
I think there's an effort to separate out the dependency into another module, because the fork join schedule also requires Java 6.
On Tue, Dec 15, 2009 at 6:57 AM, Heiko Seeberger <heiko.seeberger@googlemail.com> wrote:
--
http://erikengbrecht.blogspot.com/
I think there's an effort to separate out the dependency into another module, because the fork join schedule also requires Java 6.
On Tue, Dec 15, 2009 at 6:57 AM, Heiko Seeberger <heiko.seeberger@googlemail.com> wrote:
Hi,
It looks like some classes in scala.concurrent.forkjoin depend on sun.misc.*Does that mean that Scala 2.8 will not run on a IBM VM?
Best regards,
Heiko Seeberger
My job: weiglewilczek.com
My blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web framework: liftweb.net
--
http://erikengbrecht.blogspot.com/
Hi Heiko,
On Tue, 2009-12-15 at 12:57 +0100, Heiko Seeberger wrote:
> It looks like some classes in scala.concurrent.forkjoin depend on
> sun.misc.*
> Does that mean that Scala 2.8 will not run on a IBM VM?
This has been explained in detail in the JVM5 vs JVM6 thread. The code
checks for the JVM and only uses sun.misc.* if available.
Best,
Ismael