Scala Programming Language
  1. Scala Programming Language
  2. SI-4664

java.lang.Random is Serializable but scala.util.Random is not

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: Scala 2.8.1, Scala 2.9.1
    • Fix Version/s: Scala 2.11.0-M2
    • Component/s: Misc Library
    • Labels:
    • Environment:

      Mac OS X 10.6
      Standard scala install

      Description

      There doesn't seem to be a good reason why scala.util.Random shouldn't be serializable. It uses java's Random as parameter and that is serializable.

        Activity

        Show
        Adriaan Moors added a comment - https://github.com/scala/scala/pull/1672
        Hide
        Adriaan Moors added a comment - - edited

        Due to binary compatibility restrictions, this cannot go into 2.10.1-RC1.

        See https://github.com/scala/scala/pull/2103.

        Show
        Adriaan Moors added a comment - - edited Due to binary compatibility restrictions, this cannot go into 2.10.1-RC1. See https://github.com/scala/scala/pull/2103 .

          People

          • Assignee:
            Jean-Remi Desjardins
            Reporter:
            Przemyslaw Horban
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development