Skip to content

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

Closed

Description

@scabug

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

  1. scabug commented on Jun 2, 2011

    @scabug
    Author

    Imported From: https://issues.scala-lang.org/browse/SI-4664?orig=1
    Reporter: Przemyslaw Horban (horban)
    Affected Versions: 2.8.1, 2.9.1

  2. scabug commented on Dec 10, 2012

    @scabug
    Author
  3. scabug commented on Feb 9, 2013

    @scabug
    Author

    @adriaanm said (edited on Feb 9, 2013 9:48:28 PM UTC):
    Due to binary compatibility restrictions, this cannot go into 2.10.1-RC1.

    See scala/scala#2103.

  4. added this to the 2.11.0-M2 milestone on Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions