Skip to content

Commit fe148b1

Browse files
committed
Dotty 0.3 does not support Scala 2.12
1 parent 84eda81 commit fe148b1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala

-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ class ClassfileParser(
7575
throw new IOException(s"class file '${in.file}' has wrong magic number 0x${toHexString(magic)}, should be 0x${toHexString(JAVA_MAGIC)}")
7676
val minorVersion = in.nextChar.toInt
7777
val majorVersion = in.nextChar.toInt
78-
if (majorVersion >= JAVA8_MAJOR_VERSION)
79-
Scala2UnpicklingMode |= Mode.Java8Unpickling
8078
if ((majorVersion < JAVA_MAJOR_VERSION) ||
8179
((majorVersion == JAVA_MAJOR_VERSION) &&
8280
(minorVersion < JAVA_MINOR_VERSION)))

0 commit comments

Comments
 (0)