We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There seem to be a regression in handling transient lazy vals in 2.12. In 2.11.8, the backing field seems to be marked as transient, while in 2.12.0 it doesn't seem to. (Full example: https://gist.github.com/durban/8c2ffdc426b89fd379ea9699f63464e8)
class MyClass // not Serializable class TestClass extends Serializable { @transient lazy val foo: MyClass = new MyClass }
Relevant javap output in 2.11.8:
public class TestClass implements scala.Serializable { private transient MyClass foo; ...
And in 2.12.0:
public class TestClass implements scala.Serializable { private MyClass foo; ...
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-10075?orig=1 Reporter: Daniel Urban (durban) Affected Versions: 2.12.0
Sorry, something went wrong.
@adriaanm said: Thanks for the great report! Working on it. Sorry for the breakage.
@adriaanm said: scala/scala#5570
adriaanm
No branches or pull requests
There seem to be a regression in handling transient lazy vals in 2.12. In 2.11.8, the backing field seems to be marked as transient, while in 2.12.0 it doesn't seem to. (Full example: https://gist.github.com/durban/8c2ffdc426b89fd379ea9699f63464e8)
Relevant javap output in 2.11.8:
And in 2.12.0:
The text was updated successfully, but these errors were encountered: