Skip to content

fix: the precedence of + is higher than >> (#16312)#16316

Merged
chrisvest merged 1 commit intonetty:4.1from
chrisvest:4.1-native-array-fix
Feb 21, 2026
Merged

fix: the precedence of + is higher than >> (#16312)#16316
chrisvest merged 1 commit intonetty:4.1from
chrisvest:4.1-native-array-fix

Conversation

@chrisvest
Copy link
Copy Markdown
Member

Motivation:
Code does not take operator precedence into account.

Modification:
Add parenthesis to force operator precedence to match the comments.

Result:
Array size increments works as intended.

(cherry picked from commit e855de5)

Motivation:
Code does not take operator precedence into account.

Modification:
Add parenthesis to force operator precedence to match the comments.

Result:
Array size increments works as intended.

(cherry picked from commit e855de5)
@chrisvest chrisvest added this to the 4.1.132.Final milestone Feb 20, 2026
@chrisvest chrisvest enabled auto-merge (squash) February 20, 2026 22:57
@chrisvest chrisvest merged commit 78c6bf3 into netty:4.1 Feb 21, 2026
17 of 18 checks passed
@chrisvest chrisvest deleted the 4.1-native-array-fix branch February 21, 2026 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants