-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
Extend Java classes #418
Comments
The Android support is not implemented. Its priority is low on my list. |
Can you use net.bytebuddy:byte-buddy-android:1.15.5 to write an extension, I just debugged it, it can be injected into the Android VM, can you help implement it. |
Thank you very much JavetBuddy, I have refactored a plugin with your ideas, and I have implemented a basic extension for android, thank you very much! |
And I'll give you a bug here, when you generate bytecode, its matching should not be isPublic, you should match the method of the JS object prototype and then use ElementMatchers.namedOneOf to intercept it, otherwise you will encounter an error that rewrites part of the method and causes a more than expected. |
JavetBuddy does not work in android, causing the extended Java class to throw Failed to extend {0} by a dynamic object.
The text was updated successfully, but these errors were encountered: