Fix the issue that local reference overflows in Yoga 1 (#1308)
Summary: X-link: https://github.com/facebook/react-native/pull/37929 X-link: https://github.com/facebook/litho/pull/952 Pull Request resolved: https://github.com/facebook/yoga/pull/1308 Long story in short, we're trying to fix an issue with Yoga that could potentially lead to an overflow in the JNI local reference table. Reviewed By: NickGerleman, astreet Differential Revision: D46653732 fbshipit-source-id: 0bc34bd5a819037c046c62b651e414b249cbdcb8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ca4cf852aa
commit
f3e9b6bfb0
@@ -57,6 +57,7 @@ export enum ExperimentalFeature {
|
||||
WebFlexBasis = 0,
|
||||
AbsolutePercentageAgainstPaddingEdge = 1,
|
||||
FixAbsoluteTrailingColumnMargin = 2,
|
||||
FixJNILocalRefOverflows = 3,
|
||||
}
|
||||
|
||||
export enum FlexDirection {
|
||||
@@ -164,6 +165,7 @@ const constants = {
|
||||
EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS: ExperimentalFeature.WebFlexBasis,
|
||||
EXPERIMENTAL_FEATURE_ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE: ExperimentalFeature.AbsolutePercentageAgainstPaddingEdge,
|
||||
EXPERIMENTAL_FEATURE_FIX_ABSOLUTE_TRAILING_COLUMN_MARGIN: ExperimentalFeature.FixAbsoluteTrailingColumnMargin,
|
||||
EXPERIMENTAL_FEATURE_FIX_JNILOCAL_REF_OVERFLOWS: ExperimentalFeature.FixJNILocalRefOverflows,
|
||||
FLEX_DIRECTION_COLUMN: FlexDirection.Column,
|
||||
FLEX_DIRECTION_COLUMN_REVERSE: FlexDirection.ColumnReverse,
|
||||
FLEX_DIRECTION_ROW: FlexDirection.Row,
|
||||
|
Reference in New Issue
Block a user