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

Improve handling large arrays #594

Merged
merged 4 commits into from
Aug 31, 2023
Merged

Improve handling large arrays #594

merged 4 commits into from
Aug 31, 2023

Conversation

pxb1988
Copy link
Owner

@pxb1988 pxb1988 commented Aug 31, 2023

No description provided.

ThexXTURBOXx and others added 4 commits August 31, 2023 18:31
# Conflicts:
#	dex-translator/src/main/java/com/googlecode/d2j/dex/Dex2Asm.java
# Conflicts:
#	dex-translator/src/main/java/com/googlecode/d2j/dex/Dex2Asm.java
* feat: Extract Hex class resource logic to a separate method

Sorry for the weird commit message, I couldn't find a way to word it better. Anyways..

This commit extracts the `getResourceAsStream` call to a separate, protected method so it can be overrided, and we can provide the Hex class from a different source.

* fix: Check if Hex class stream is null
@pxb1988 pxb1988 marked this pull request as ready for review August 31, 2023 10:49
@pxb1988 pxb1988 merged commit ef29be1 into 2.x Aug 31, 2023
1 check passed
@pxb1988 pxb1988 deleted the improve-handling-large-arrays branch August 31, 2023 10:49
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.

4 participants