A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://issues.scala-lang.org/browse/SI-8549 below:

scalac 2.11 regression. Scalac is not honouring the SerialVersionUID annotation · Issue #8549 · scala/bug · GitHub

Compiling this code:

package test

@SerialVersionUID(1)
class Ser extends Serializable

using 2.10 and then running the following:

object Main extends App {
  println( classOf[test.Ser].getDeclaredField("serialVersionUID") )
}

Will print public static final long test.Ser.serialVersionUID

However, compiling the same with 2.11 gives a NoSuchFIeldException


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4