On Wed, 2 Dec 2026 09:26:00 GMT, Stefan Karlsson <[email protected]> wrote:

> It looks like things could be cleaner by using range-based for loops:
> 
> ```
>   for (SystemProperty* sp = *Arguments::system_properties()) {
> ```
> 
> instead of:
> 
> ```
>   for (GrowableArrayIterator<SystemProperty*> it = 
> Arguments::system_properties()->begin();
>        it != Arguments::system_properties()->end(); ++it) {
>     SystemProperty* sp = *it;
> ```

Fixed.

I found a few other cases of using GrowableArrayIterator in the source code. 
I'll fix those in a separate REF.

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

PR Comment: https://git.openjdk.org/jdk/pull/34167#issuecomment-7352491068

Reply via email to