Skip to content

Commit 4a8b6d0

Browse files
committed
StringBuilder.append() and String.valueOf() must not be in PE code
* Found by SVM's check.
1 parent 3373bf9 commit 4a8b6d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/truffleruby/core/string/StringNodes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2166,7 +2166,7 @@ protected RubyString undumpNonAsciiCompatible(RubyString string) {
21662166
throw new RaiseException(
21672167
getContext(),
21682168
getContext().getCoreExceptions().encodingCompatibilityError(
2169-
"ASCII incompatible encoding: " + string.rope.encoding,
2169+
Utils.concat("ASCII incompatible encoding: ", string.rope.encoding),
21702170
this));
21712171
}
21722172

0 commit comments

Comments
 (0)