Skip to content

Commit 1974010

Browse files
thk123Matthias Güdemann
thk123
authored and
Matthias Güdemann
committed
Adjusted the if check to aid readability
1 parent 42065ec commit 1974010

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/java_bytecode/java_bytecode_parser.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1895,9 +1895,9 @@ void java_bytecode_parsert::read_bootstrapmethods_entry(classt &parsed_class)
18951895
const pool_entryt &method_type_argument = pool_entry(method_type_index);
18961896

18971897
if(
1898-
!(interface_type_argument.tag == CONSTANT_MethodType &&
1899-
method_handle_argument.tag == CONSTANT_MethodHandle &&
1900-
method_type_argument.tag == CONSTANT_MethodType))
1898+
interface_type_argument.tag != CONSTANT_MethodType ||
1899+
method_handle_argument.tag != CONSTANT_MethodHandle ||
1900+
method_type_argument.tag != CONSTANT_MethodType)
19011901
{
19021902
debug() << "format of BootstrapMethods entry not recognized: arguments "
19031903
"wrong type"

0 commit comments

Comments
 (0)