Skip to content

Commit c4828e3

Browse files
Set StringBuilder.getChars() to notModelled
1 parent e413641 commit c4828e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/java/lang/AbstractStringBuilder.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ public int offsetByCodePoints(int index, int codePointOffset) {
8282
return CProver.nondetInt();
8383
}
8484

85-
public void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) {}
85+
public void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) {
86+
CProver.notModelled();
87+
}
8688

8789
public void setCharAt(int index, char ch) {}
8890

0 commit comments

Comments
 (0)