We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e41dea + cb8d924 commit ee291bdCopy full SHA for ee291bd
src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala
@@ -532,6 +532,10 @@ abstract class GenASM extends SubComponent with BytecodeWriters { self =>
532
case e: java.lang.RuntimeException if e.getMessage != null && (e.getMessage contains "too large!") =>
533
reporter.error(sym.pos,
534
s"Could not write class $jclassName because it exceeds JVM code size limits. ${e.getMessage}")
535
+ case e: java.io.IOException if e.getMessage != null && (e.getMessage contains "File name too long") =>
536
+ reporter.error(sym.pos, e.getMessage + "\n" +
537
+ "This can happen on some encrypted or legacy file systems. Please see SI-3623 for more details.")
538
+
539
}
540
541
0 commit comments