File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -1612,19 +1612,16 @@ void java_bytecode_parsert::rinner_classes_attribute(
1612
1612
for (int i = 0 ; i < number_of_classes; i++)
1613
1613
{
1614
1614
u2 inner_class_info_index = read_u2 ();
1615
- UNUSED u2 outer_class_info_index = read_u2 ();
1615
+ u2 outer_class_info_index = read_u2 ();
1616
1616
UNUSED u2 inner_name_index = read_u2 ();
1617
1617
u2 inner_class_access_flags = read_u2 ();
1618
1618
1619
- if (inner_class_info_index == 0 )
1620
- continue ;
1621
-
1622
1619
std::string inner_class_info_name =
1623
1620
class_infot (pool_entry (inner_class_info_index))
1624
1621
.get_name (pool_entry_lambda);
1625
- bool is_private = inner_class_access_flags & ACC_PRIVATE;
1626
- bool is_public = inner_class_access_flags & ACC_PUBLIC;
1627
- bool is_protected = inner_class_access_flags & ACC_PROTECTED;
1622
+ bool is_private = ( inner_class_access_flags & ACC_PRIVATE) != 0 ;
1623
+ bool is_public = ( inner_class_access_flags & ACC_PUBLIC) != 0 ;
1624
+ bool is_protected = ( inner_class_access_flags & ACC_PROTECTED) != 0 ;
1628
1625
1629
1626
// If the original parsed class name matches the inner class name,
1630
1627
// the parsed class is an inner class, so overwrite the parsed class'
You can’t perform that action at this time.
0 commit comments