Silently ignore the D8 desugar SynthesizedClassV2 attribute in ijar
V1:
@@ -1542,7 +1542,8 @@ void HasAttrs::ReadAttrs(const u1 *&p) {
// says this is ok, so long as we handle the mandatory attributes.
// Don't even warn for the D8 desugar SynthesizedClass attribute. It is
// not relevant for ijar.
- if (attr_name != "com.android.tools.r8.SynthesizedClass") {
+ if (attr_name != "com.android.tools.r8.SynthesizedClass" &&
+ attr_name != "com.android.tools.r8.SynthesizedClassV2") {
fprintf(stderr, "ijar: skipping unknown attribute: \"%s\".\n",
attr_name.c_str());
}
