On Thu, 21 May 2026 13:31:40 GMT, Erik Joelsson <[email protected]> wrote:

>> David Simms has updated the pull request with a new target base due to a 
>> merge or a rebase. The pull request now contains 2754 commits:
>> 
>>  - Merge remote-tracking branch 'valhalla/lworld' into 
>> jep401_sub_review_8317279
>>  - Merge
>>    
>>    Merge jdk-27+24
>>  - 8385674: [lworld] TestNullableInlineTypes.java fails after JDK-8325632
>>    
>>    Reviewed-by: mchevalier
>>  - 8385652: [lworld] RedefineClasses should use stack map frame name
>>    
>>    Reviewed-by: fparain
>>  - 8384107: [lworld] Update runtime/contended tests to run the same testing 
>> for value classes
>>    
>>    Reviewed-by: fparain, lmesnik
>>  - 8385600: [lworld] DA/DU issues with strict fields
>>    
>>    Reviewed-by: vromero
>>  - 8384897: [lworld] this.staticField should be restricted in early 
>> construction context
>>    
>>    Reviewed-by: liach, vromero
>>  - 8385601: [lworld] Update testing documentation for the ValueClassPlugin 
>> jtreg option
>>    
>>    Reviewed-by: lmesnik
>>  - 8385569: [lworld] Apply JDK-8343767 to Valhalla specific StubRoutines
>>    
>>    Reviewed-by: fparain, vlivanov
>>  - 8385581: [lworld] Remove the experimental JVMCI feature
>>    8382708: [lworld] JVMCI support for Value Objects
>>    8372605: [lworld] 
>> compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/TestResolvedJava*.java
>>  fail with --enable-preview
>>    
>>    Reviewed-by: thartmann
>>  - ... and 2744 more: https://git.openjdk.org/jdk/compare/2c7efc08...9e804255
>
> make/modules/java.base/gensrc/GensrcVarHandles.gmk line 44:
> 
>> 42:   VARHANDLE_$1_type := $$(strip $$(if $$(filter 
>> $(VARHANDLE_OBJECT_TYPES), $1), Object, $1))
>> 43:   VARHANDLE_$1_InputType := $$(strip $$(if $$(filter 
>> $(VARHANDLE_OBJECT_TYPES), $1), $1, $$(call Conv, $1, Type)))
>> 44:   VARHANDLE_$1_Type := $$(strip $$(subst NonAtomicReference, Reference, 
>> $$(subst NonAtomicFlatValue, FlatValue, $$(VARHANDLE_$1_InputType))))
> 
> Style nit. Please try to break these lines in a readable way to avoid 
> excessive width. Use the `#` lines for a visual guide. Going over a little is 
> ok if it improves readability.

See the following bug comment for my analysis:
https://bugs.openjdk.org/browse/JDK-8385743?focusedId=14884223&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14884223

Summary:
Breaking with a backslash right after the variable declaration is a typical
thing done in Makefiles to reduce line length but only solves the length
problem for 1 of 3 lines. The (original) 2nd and 3rd lines need an additional
break for which I chose the location based on the parens.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/31123#discussion_r3345022100

Reply via email to