On Wed, 26 Nov 2025 07:33:10 GMT, David Holmes <[email protected]> wrote:

>> This could be a simple cleanup of all these occurrences later.
>
> Yes this is terribly obscure (doing the assignment in the loop condition 
> check - surprised that is even allowed) and also violates the style-guide in 
> relation to implicit booleans. But frankly it is an awful use of a for-loop 
> in my opinion.

Filed https://bugs.openjdk.org/browse/JDK-8372840 as a cleanup task.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28361#discussion_r2578305847

Reply via email to