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

Support getMethod without ::javaobject or local_ref in return #19

Closed
wants to merge 1 commit into from

Conversation

dreiss
Copy link
Contributor

@dreiss dreiss commented Oct 24, 2019

Summary:
Treat getMethod as equivalent to getMethod<JniType>,
which is equivalent to getMethodJFoo::javaobject.

Update all call sites. Some were calling getMethod<local_ref>,
which is equivalent.

Test Plan:
CI

Summary:
Treat getMethod<JFoo> as equivalent to getMethod<JniType<JFoo>>,
which is equivalent to getMethod<JFoo::javaobject>.

Update all call sites.  Some were calling getMethod<local_ref<JFoo>>,
which is equivalent.

Test Plan:
CI
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 24, 2019
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@dreiss has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

facebook-github-bot pushed a commit to facebookarchive/profilo that referenced this pull request Oct 28, 2019
Summary:
Treat `getMethod<JFoo()>` as equivalent to `getMethod<JniType<JFoo>()>`,
which is equivalent to `getMethod<JFoo::javaobject()>`.

Update all call sites.  Some were calling getMethod<local_ref<JFoo>>,
which is equivalent.

Pull Request resolved: facebookincubator/fbjni#19

Test Plan: CI

Reviewed By: cjhopman

Differential Revision: D18121237

Pulled By: dreiss

fbshipit-source-id: 2f0b6fc1909599256cdc708e721c9d877492d54d
facebook-github-bot pushed a commit to facebook/hermes that referenced this pull request Oct 28, 2019
Summary:
Treat `getMethod<JFoo()>` as equivalent to `getMethod<JniType<JFoo>()>`,
which is equivalent to `getMethod<JFoo::javaobject()>`.

Update all call sites.  Some were calling getMethod<local_ref<JFoo>>,
which is equivalent.

Pull Request resolved: facebookincubator/fbjni#19

Test Plan: CI

Reviewed By: cjhopman

Differential Revision: D18121237

Pulled By: dreiss

fbshipit-source-id: 2f0b6fc1909599256cdc708e721c9d877492d54d
@facebook-github-bot
Copy link
Contributor

@dreiss merged this pull request in c493524.

EduardoCostaom pushed a commit to EduardoCostaom/profilo that referenced this pull request Nov 2, 2022
Summary:
Treat `getMethod<JFoo()>` as equivalent to `getMethod<JniType<JFoo>()>`,
which is equivalent to `getMethod<JFoo::javaobject()>`.

Update all call sites.  Some were calling getMethod<local_ref<JFoo>>,
which is equivalent.

Pull Request resolved: facebookincubator/fbjni#19

Test Plan: CI

Reviewed By: cjhopman

Differential Revision: D18121237

Pulled By: dreiss

fbshipit-source-id: 2f0b6fc1909599256cdc708e721c9d877492d54d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants