Skip to content

Commit f2626de

Browse files
Merge pull request #14974 from dos65/class_too_large_minor_fix
fix: correction to ClassTooLargeException message
2 parents 83cf427 + 1ff3dbf commit f2626de

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)