Skip to content

Commit 7be0552

Browse files
authored
Merge pull request #4 from diffblue/smowton/feature/class-init-must-not-throw
Mark Class literal initializer must-not-throw
2 parents fc38cd4 + a2d74cf commit 7be0552

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)