Skip to content

Commit a2d74cf

Browse files
committed
Mark Class literal initializer must-not-throw
1 parent fc38cd4 commit a2d74cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/java/lang/Class.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ private static boolean desiredAssertionStatus0(Class<?> clazz) {
426426
// avoid the time-consuming process of enumerating over the constant
427427
// dictionary's internal array, when generating the Class object non-
428428
// deterministically.
429+
@org.cprover.MustNotThrow
429430
public void cproverInitializeClassLiteral(
430431
String name,
431432
boolean isAnnotation,

0 commit comments

Comments
 (0)