[foreign-memaccess+abi] RFR: 8293510: Code style issues in the foreign API [v2]
Per Minborg
duke at openjdk.org
Mon Sep 19 14:08:07 UTC 2022
On Mon, 19 Sep 2022 13:09:10 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
>> The principle used in this PR is the same as in `java.util.stream.Stream` where methods with 0 <= x <= 2 parameters are on the same line and methods with > 2 parameters are on separate vertical lines.
>
> But that does not make it the norm. The majority of code in java.base does not do this. Even in `java.util.stream.Stream` it is not done for every method (e.g. `iterate` puts 3 parameters on the same line).
It is true that this does not make it the norm. It is just an explanation of the principle used in this PR.
-------------
PR: https://git.openjdk.org/panama-foreign/pull/721
More information about the panama-dev
mailing list