We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c00440 commit 2964910Copy full SHA for 2964910
src/java_bytecode/java_bytecode_convert_class.cpp
@@ -151,7 +151,16 @@ static optionalt<std::string> extract_generic_interface_reference(
151
start =
152
find_closing_semi_colon_for_reference_type(signature.value(), start) + 1;
153
154
- start = signature.value().find("L" + interface_name + "<", start);
+ // if the interface name includes package name, convert dots to slashes
155
+ std::string interface_name_slash_to_dot = interface_name;
156
+ std::replace(
157
+ interface_name_slash_to_dot.begin(),
158
+ interface_name_slash_to_dot.end(),
159
+ '.',
160
+ '/');
161
+
162
+ start =
163
+ signature.value().find("L" + interface_name_slash_to_dot + "<", start);
164
if(start != std::string::npos)
165
{
166
const size_t &end =
0 commit comments