Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Type inference failed for a simple method #900

Closed
bagipro opened this issue Apr 5, 2020 · 2 comments
Closed

[core] Type inference failed for a simple method #900

bagipro opened this issue Apr 5, 2020 · 2 comments
Labels
bug Core Issues in jadx-core module

Comments

@bagipro
Copy link
Collaborator

bagipro commented Apr 5, 2020

Class com.ebay.db.foundations.dcs.DcsDao_Impl

        /* JADX INFO: additional move instructions added (1) to help type inference */
        /* JADX WARN: Type inference failed for: r2v0 */
        /* JADX WARN: Type inference failed for: r2v1, types: [java.util.Date] */
        /* JADX WARN: Type inference failed for: r2v2, types: [java.lang.Long] */
        /* JADX WARN: Type inference failed for: r2v5 */
        /* JADX WARN: Type inference failed for: r2v6 */
        /* JADX WARNING: Multi-variable type inference failed */
        /* JADX WARNING: Unknown variable types count: 1 */
        public java.util.Date call() throws java.lang.Exception {
            ? r2 = 0;
            android.database.Cursor query = androidx.room.util.DBUtil.query(com.ebay.db.foundations.dcs.DcsDao_Impl.this.__db, this.val$_statement, false, null);
            try {
                if (query.moveToFirst()) {
                    if (!query.isNull(0)) {
                        r2 = java.lang.Long.valueOf(query.getLong(0));
                    }
                    r2 = com.ebay.db.foundations.dcs.DcsDao_Impl.this.__dateTypeConverter.toDate(r2);
                }
                return r2;
            } finally {
                query.close();
            }
        }

APK: https://drive.google.com/file/d/1qC3tlWs9AtPBpyS6iU9kcSphLryfJOxi/view?usp=sharing

@bagipro bagipro added bug Core Issues in jadx-core module labels Apr 5, 2020
@skylot
Copy link
Owner

skylot commented Apr 26, 2020

@sergey-wowwow fixed.

@skylot skylot closed this as completed Apr 26, 2020
@bagipro
Copy link
Collaborator Author

bagipro commented Apr 26, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Core Issues in jadx-core module
Projects
None yet
Development

No branches or pull requests

2 participants