Skip to content

Conversation

@cortinico
Copy link
Contributor

Summary:
We specify the java target version to 17 for ReactAndroid but not for hermes-engine.
This is causing it to be the default (8) which will cause our build to fail on JDK 21.
This fixes it.

Changelog:
[Internal] [Changed] -

Differential Revision: D74325107

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels May 7, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D74325107

cortinico added a commit to cortinico/react-native that referenced this pull request May 7, 2025
Summary:

We specify the java target version to 17 for ReactAndroid but not for hermes-engine.
This is causing it to be the default (8) which will cause our build to fail on JDK 21.
This fixes it.

Changelog:
[Internal] [Changed] -

Differential Revision: D74325107
@cortinico cortinico force-pushed the export-D74325107 branch from b57be83 to 53f9347 Compare May 7, 2025 16:54
cortinico added a commit to cortinico/react-native that referenced this pull request May 7, 2025
Summary:

We specify the java target version to 17 for ReactAndroid but not for hermes-engine.
This is causing it to be the default (8) which will cause our build to fail on JDK 21.
This fixes it.

Changelog:
[Internal] [Changed] -

Differential Revision: D74325107
@cortinico cortinico force-pushed the export-D74325107 branch from 53f9347 to 8e1c1d1 Compare May 7, 2025 16:54
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D74325107

Summary:
Pull Request resolved: facebook#51162

We specify the java target version to 17 for ReactAndroid but not for hermes-engine.
This is causing it to be the default (8) which will cause our build to fail on JDK 21.
This fixes it.

Changelog:
[Internal] [Changed] -

Differential Revision: D74325107
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D74325107

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in db18aac.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label May 8, 2025
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @cortinico in db18aac

When will my fix make it into a release? | How to file a pick request?

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. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants