Skip to content

Commit 1ff3dbf

Browse files
committed
fix: correction to ClassTooLargeException message
1 parent 9ed0762 commit 1ff3dbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/backend/jvm/GenBCode.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ class GenBCodePipeline(val int: DottyBackendInterface, val primitives: DottyPrim
581581
report.error(msg)
582582
case e: ClassTooLargeException =>
583583
val msg =
584-
s"Class '${e.getClassName.replaceAll("/", ".")}' is too large. Constant pool size: ${e.getConstantPoolCount}. Limit is 64KB"
584+
s"Class '${e.getClassName.replaceAll("/", ".")}' is too large. Constant pool size: ${e.getConstantPoolCount}. Limit is 64K entries"
585585
report.error(msg)
586586

587587
}

0 commit comments

Comments
 (0)