Skip to content

Commit a39f687

Browse files
author
Brian Huffman
committed
Update examples/java/get.saw to use jvm_unspecified declarations.
1 parent 791e8c9 commit a39f687

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

examples/java/get.saw

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ jvm_verify c "get" [] false
99
j <- jvm_fresh_var "j" java_int;
1010
jvm_precond {{ j <= 3 }};
1111
jvm_execute_func [this, a, jvm_term j];
12-
// TODO: Update spec to say `a` is modified but not specified
12+
// TODO: Add declaration to say that the entire array is modified.
13+
jvm_unspecified_elem a 0;
14+
jvm_unspecified_elem a 1;
15+
jvm_unspecified_elem a 2;
16+
jvm_unspecified_elem a 3;
1317
jvm_return (jvm_term {{ j }});
1418
}
1519
abc;

0 commit comments

Comments
 (0)