Commit 8a59f6f
committed
Object factory: permit null pointers within java.lang.Class
This is in fact required by the Deeptest models library, and is generally sensible if we don't
know whether or not a particular implementation of java.lang.Class should or should not be able
to store null in any particular field. If you're running an implementation that requires them
not null, add a cproverNondetInitialize function to that effect.
This was blocking using implementations that expect a null value from passing initialization.1 parent 8412eb0 commit 8a59f6f
File tree
7 files changed
+31
-10
lines changed- jbmc
- regression/jbmc/class-fields
- java/lang
- src/java_bytecode
7 files changed
+31
-10
lines changedBinary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | 97 | | |
103 | 98 | | |
104 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
877 | | - | |
878 | | - | |
879 | | - | |
880 | | - | |
881 | 877 | | |
882 | 878 | | |
883 | 879 | | |
| |||
889 | 885 | | |
890 | 886 | | |
891 | 887 | | |
892 | | - | |
| 888 | + | |
893 | 889 | | |
894 | 890 | | |
895 | 891 | | |
| |||
0 commit comments