We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84eda81 commit fe148b1Copy full SHA for fe148b1
compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala
@@ -75,8 +75,6 @@ class ClassfileParser(
75
throw new IOException(s"class file '${in.file}' has wrong magic number 0x${toHexString(magic)}, should be 0x${toHexString(JAVA_MAGIC)}")
76
val minorVersion = in.nextChar.toInt
77
val majorVersion = in.nextChar.toInt
78
- if (majorVersion >= JAVA8_MAJOR_VERSION)
79
- Scala2UnpicklingMode |= Mode.Java8Unpickling
80
if ((majorVersion < JAVA_MAJOR_VERSION) ||
81
((majorVersion == JAVA_MAJOR_VERSION) &&
82
(minorVersion < JAVA_MINOR_VERSION)))
0 commit comments