fix: add JvmStatic to all methods used in cpp#45243
Closed
WoLewicki wants to merge 1 commit intofacebook:mainfrom
Closed
fix: add JvmStatic to all methods used in cpp#45243WoLewicki wants to merge 1 commit intofacebook:mainfrom
WoLewicki wants to merge 1 commit intofacebook:mainfrom
Conversation
Contributor
|
@dmytrorykun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Contributor
|
@dmytrorykun merged this pull request in 54dadd7. |
|
This pull request was successfully merged by @WoLewicki in 54dadd7. When will my fix make it into a release? | How to file a pick request? |
cipolleschi
pushed a commit
that referenced
this pull request
Jul 8, 2024
Summary: Following-up on #45230, I added all the needed `JvmStatic` annotations for methods used in cpp code here: https://github.com/facebook/hermes/blob/f5c867514c71b25212eb3039230e0c095518b532/lib/Platform/Unicode/PlatformUnicodeJava.cpp. ## Changelog: <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID] [FIXED] - Use `JvmStatic` annotations for all methods from `AndroidUnicodeUtils.kt` For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [ANDROID] [FIXED] - Use `JvmStatic` annotations for all methods from `AndroidUnicodeUtils.kt` Pull Request resolved: #45243 Test Plan: Try and use those methods to see that they don't crash on `cpp` side. Reviewed By: cortinico Differential Revision: D59264093 Pulled By: dmytrorykun fbshipit-source-id: 07d683ee38ea1c7d9621ad2e37d04f3d484d3200
|
This pull request was successfully merged by @WoLewicki in 83a2086. When will my fix make it into a release? | How to file a pick request? |
This was referenced Aug 15, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Following-up on #45230, I added all the needed
@JvmStaticannotations for methods used in cpp code here: https://github.com/facebook/hermes/blob/f5c867514c71b25212eb3039230e0c095518b532/lib/Platform/Unicode/PlatformUnicodeJava.cpp.Changelog:
[ANDROID] [FIXED] - Use
@JvmStaticannotations for all methods fromAndroidUnicodeUtils.ktTest Plan:
Try and use those methods to see that they don't crash on
cppside.