Skip to content

Conversation

@sn-o-w
Copy link
Contributor

@sn-o-w sn-o-w commented Dec 18, 2020

Some commits related to dexmaker are missing.

List of changes in this PR:
linkedin/dexmaker@1bb921e
linkedin/dexmaker@a863767
linkedin/dexmaker@7929d11
linkedin/dexmaker@53339f9
linkedin/dexmaker@4b7c28b

I tested these changes for a long while, everything seems to be fine.

}

EncodedMethod toEncodedMethod(DexOptions dexOptions) {
if ((flags & ABSTRACT) != 0 || (flags & NATIVE) != 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think dexmaker is just for hooker generation, what's the point of checking native flags here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that native methods don’t have bodies so they should be handled like abstract methods. Anyways, I imported missing changes to be more in line with original dexmaker, so I don't believe this change would do any harm.

@kotori2 kotori2 requested a review from solohsu December 18, 2020 12:56
@solohsu solohsu merged commit 2d036e9 into ElderDrivers:master Dec 23, 2020
@sn-o-w sn-o-w deleted the master-dexmaker branch December 23, 2020 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants