Skip to content

Commit 2c80686

Browse files
author
Daniel Kroening
committed
comment
1 parent 28a5260 commit 2c80686

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/java_bytecode/java_bytecode_convert.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,9 @@ codet java_bytecode_convertt::convert_instructions(
781781
}
782782
else if(statement=="checkcast")
783783
{
784+
// checkcast throws an exception in case a cast of object
785+
// on stack to given type fails.
786+
// The stack isn't modified.
784787
assert(op.size()==1 && results.size()==1);
785788
results[0]=op[0];
786789
}

0 commit comments

Comments
 (0)