You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, here is an example of one more pretty simple code that produces this issue in class com.grab.pax.api.model.MultiPoi
/* JADX WARNING: type inference failed for: r0v2, types: [java.util.Map$Entry, java.lang.Object] *//* JADX WARNING: Multi-variable type inference failed. Error: jadx.core.utils.exceptions.JadxRuntimeException: No candidate types for var: r0v2, types: [java.util.Map$Entry, java.lang.Object] assigns: [java.lang.Object] uses: [java.util.Map$Entry] mth insns count: 18 at jadx.core.dex.visitors.typeinference.TypeSearch.fillTypeCandidates(TypeSearch.java:237) at java.base/java.util.ArrayList.forEach(ArrayList.java:1540) at jadx.core.dex.visitors.typeinference.TypeSearch.run(TypeSearch.java:53) at jadx.core.dex.visitors.typeinference.TypeInferenceVisitor.runMultiVariableSearch(TypeInferenceVisitor.java:99) at jadx.core.dex.visitors.typeinference.TypeInferenceVisitor.visit(TypeInferenceVisitor.java:92) at jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:27) at jadx.core.dex.visitors.DepthTraversal.lambda$visit$1(DepthTraversal.java:14) at java.base/java.util.ArrayList.forEach(ArrayList.java:1540) at jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:14) at jadx.core.ProcessClass.process(ProcessClass.java:30) at jadx.core.ProcessClass.lambda$processDependencies$0(ProcessClass.java:49) at java.base/java.util.ArrayList.forEach(ArrayList.java:1540) at jadx.core.ProcessClass.processDependencies(ProcessClass.java:49) at jadx.core.ProcessClass.process(ProcessClass.java:35) at jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:311) at jadx.api.JavaClass.decompile(JavaClass.java:62) at jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:217) *//* JADX WARNING: Unknown variable types count: 1 *//* Code decompiled incorrectly, please refer to instructions dump. */publicvoidwriteToParcel(android.os.Parcelparcel, inti) {
p343e.p345f.p347b.C5608m.m19675b(parcel, "parcel");
java.util.Map<java.lang.Integer, com.grab.pax.api.model.Poi> map = this.poiMap;
parcel.writeInt(map.size());
for (? next : map.entrySet()) {
parcel.writeInt(((java.lang.Integer) next.getKey()).intValue());
((com.grab.pax.api.model.Poi) next.getValue()).writeToParcel(parcel, 0);
}
}
And a simpler test case for different issue in the same class :)
Thanks! But looks like package com.grab.rewards.models contains a lot of small methods which are incorrectly decompiled. I will file a new report to don't miss in old codes
Hi, here is an example of one more pretty simple code that produces this issue in class
com.grab.pax.api.model.MultiPoi
And a simpler test case for different issue in the same class :)
APK: https://drive.google.com/file/d/1i1EnqbUDbJ68upS_YbDfj0iNwC1MUep2/view?usp=sharing
The text was updated successfully, but these errors were encountered: