Skip to content

Migrate YogaNodeJNIBase.java to Kotlin (#56780)#56780

Closed
cortinico wants to merge 1 commit into
facebook:mainfrom
cortinico:export-D104666335
Closed

Migrate YogaNodeJNIBase.java to Kotlin (#56780)#56780
cortinico wants to merge 1 commit into
facebook:mainfrom
cortinico:export-D104666335

Conversation

@cortinico
Copy link
Copy Markdown
Contributor

@cortinico cortinico commented May 12, 2026

Summary:
X-link: facebook/yoga#1939

Migrate YogaNodeJNIBase.java to YogaNodeJNIBase.kt, the last hand-written Java source file in the Yoga core library. This required converting all function overrides to Kotlin property overrides where the abstract YogaNode class declares them as val/var properties. Also changed nativePointer visibility in YogaConfigJNIBase from protected to internal to maintain same-module access that Java protected provided via package access.

Changelog:
[Internal] -

Differential Revision: D104666335

@meta-cla meta-cla 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 May 12, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 12, 2026

@cortinico has exported this pull request. If you are a Meta employee, you can view the originating Diff in D104666335.

@cortinico cortinico force-pushed the export-D104666335 branch from 336f7ed to 9a09f36 Compare May 12, 2026 12:51
cortinico added a commit to cortinico/yoga that referenced this pull request May 12, 2026
Summary:
X-link: facebook/react-native#56780

Migrate YogaNodeJNIBase.java to YogaNodeJNIBase.kt, the last hand-written Java source file in the Yoga core library. This required converting all function overrides to Kotlin property overrides where the abstract YogaNode class declares them as val/var properties. Also changed nativePointer visibility in YogaConfigJNIBase from protected to internal to maintain same-module access that Java protected provided via package access.

Changelog:
[Internal] -

Differential Revision: D104666335
@meta-codesync meta-codesync Bot changed the title Migrate YogaNodeJNIBase.java to Kotlin Migrate YogaNodeJNIBase.java to Kotlin (#56780) May 12, 2026
@cortinico cortinico force-pushed the export-D104666335 branch from 9a09f36 to 59ea139 Compare May 12, 2026 15:30
cortinico added a commit to cortinico/react-native that referenced this pull request May 12, 2026
Summary:
X-link: facebook/yoga#1939

Pull Request resolved: facebook#56780

Migrate YogaNodeJNIBase.java to YogaNodeJNIBase.kt, the last hand-written Java source file in the Yoga core library. This required converting all function overrides to Kotlin property overrides where the abstract YogaNode class declares them as val/var properties. Also changed nativePointer visibility in YogaConfigJNIBase from protected to internal to maintain same-module access that Java protected provided via package access.

Changelog:
[Internal] -

Differential Revision: D104666335
cortinico added a commit to cortinico/yoga that referenced this pull request May 13, 2026
Summary:
Pull Request resolved: facebook#1939

X-link: facebook/react-native#56780

Migrate YogaNodeJNIBase.java to YogaNodeJNIBase.kt, the last hand-written Java source file in the Yoga core library. This required converting all function overrides to Kotlin property overrides where the abstract YogaNode class declares them as val/var properties. Also changed nativePointer visibility in YogaConfigJNIBase from protected to internal to maintain same-module access that Java protected provided via package access.

Changelog:
[Internal] -

Differential Revision: D104666335
@cortinico cortinico force-pushed the export-D104666335 branch from 59ea139 to 33b044c Compare May 13, 2026 09:51
cortinico added a commit to cortinico/react-native that referenced this pull request May 13, 2026
Summary:
X-link: facebook/yoga#1939

Pull Request resolved: facebook#56780

Migrate YogaNodeJNIBase.java to YogaNodeJNIBase.kt, the last hand-written Java source file in the Yoga core library. This required converting all function overrides to Kotlin property overrides where the abstract YogaNode class declares them as val/var properties. Also changed nativePointer visibility in YogaConfigJNIBase from protected to internal to maintain same-module access that Java protected provided via package access.

Changelog:
[Internal] -

Differential Revision: D104666335
cortinico added a commit to cortinico/react-native that referenced this pull request May 13, 2026
Summary:
X-link: facebook/yoga#1939

Pull Request resolved: facebook#56780

Migrate YogaNodeJNIBase.java to YogaNodeJNIBase.kt, the last hand-written Java source file in the Yoga core library. This required converting all function overrides to Kotlin property overrides where the abstract YogaNode class declares them as val/var properties. Also changed nativePointer visibility in YogaConfigJNIBase from protected to internal to maintain same-module access that Java protected provided via package access.

Changelog:
[Internal] -

Differential Revision: D104666335
@cortinico cortinico force-pushed the export-D104666335 branch from 33b044c to 10edea0 Compare May 13, 2026 12:31
cortinico added a commit to cortinico/yoga that referenced this pull request May 13, 2026
Summary:
Pull Request resolved: facebook#1939

X-link: facebook/react-native#56780

Migrate YogaNodeJNIBase.java to YogaNodeJNIBase.kt, the last hand-written Java source file in the Yoga core library. This required converting all function overrides to Kotlin property overrides where the abstract YogaNode class declares them as val/var properties. Also changed nativePointer visibility in YogaConfigJNIBase from protected to internal to maintain same-module access that Java protected provided via package access.

Changelog:
[Internal] -

Differential Revision: D104666335
cortinico added a commit to cortinico/react-native that referenced this pull request May 13, 2026
Summary:
X-link: facebook/yoga#1939

Pull Request resolved: facebook#56780

Migrate YogaNodeJNIBase.java to YogaNodeJNIBase.kt, the last hand-written Java source file in the Yoga core library. This required converting all function overrides to Kotlin property overrides where the abstract YogaNode class declares them as val/var properties. Also changed nativePointer visibility in YogaConfigJNIBase from protected to internal to maintain same-module access that Java protected provided via package access.

Changelog:
[Internal] -

Differential Revision: D104666335
@cortinico cortinico force-pushed the export-D104666335 branch from 10edea0 to 9dee991 Compare May 13, 2026 13:50
cortinico added a commit to cortinico/yoga that referenced this pull request May 13, 2026
Summary:
Pull Request resolved: facebook#1939

X-link: facebook/react-native#56780

Migrate YogaNodeJNIBase.java to YogaNodeJNIBase.kt, the last hand-written Java source file in the Yoga core library. This required converting all function overrides to Kotlin property overrides where the abstract YogaNode class declares them as val/var properties. Also changed nativePointer visibility in YogaConfigJNIBase from protected to internal to maintain same-module access that Java protected provided via package access.

Changelog:
[Internal] -

Differential Revision: D104666335
Summary:
X-link: facebook/yoga#1939

Pull Request resolved: facebook#56780

Migrate YogaNodeJNIBase.java to YogaNodeJNIBase.kt, the last hand-written Java source file in the Yoga core library. This required converting all function overrides to Kotlin property overrides where the abstract YogaNode class declares them as val/var properties. Also changed nativePointer visibility in YogaConfigJNIBase from protected to internal to maintain same-module access that Java protected provided via package access.

Changelog:
[Internal] -

Differential Revision: D104666335
cortinico added a commit to cortinico/yoga that referenced this pull request May 13, 2026
Summary:
Pull Request resolved: facebook#1939

X-link: facebook/react-native#56780

Migrate YogaNodeJNIBase.java to YogaNodeJNIBase.kt, the last hand-written Java source file in the Yoga core library. This required converting all function overrides to Kotlin property overrides where the abstract YogaNode class declares them as val/var properties. Also changed nativePointer visibility in YogaConfigJNIBase from protected to internal to maintain same-module access that Java protected provided via package access.

Changelog:
[Internal] -

Differential Revision: D104666335
@cortinico cortinico force-pushed the export-D104666335 branch from 9dee991 to 28ebc4a Compare May 13, 2026 13:56
meta-codesync Bot pushed a commit to facebook/yoga that referenced this pull request May 15, 2026
Summary:
Pull Request resolved: #1939

X-link: facebook/react-native#56780

Migrate YogaNodeJNIBase.java to YogaNodeJNIBase.kt, the last hand-written Java source file in the Yoga core library. This required converting all function overrides to Kotlin property overrides where the abstract YogaNode class declares them as val/var properties. Also changed nativePointer visibility in YogaConfigJNIBase from protected to internal to maintain same-module access that Java protected provided via package access.

Changelog:
[Internal] -

Reviewed By: alanleedev

Differential Revision: D104666335

fbshipit-source-id: c60285453e8a6ec834924be461da3c669d9a7be4
@meta-codesync meta-codesync Bot closed this in 2f1d1e3 May 15, 2026
@facebook-github-tools facebook-github-tools Bot added the Merged This PR has been merged. label May 15, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 15, 2026

This pull request has been merged in 2f1d1e3.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @cortinico in 2f1d1e3

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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants