RFR: 8254733: HotSpot Style Guide should permit using range-based for loops

Kim Barrett kbarrett at openjdk.java.net
Sat Nov 28 06:42:01 UTC 2020


Please review and vote on this change to the HotSpot Style Guide to
permit the use of range-based `for` loops in HotSpot code. Range-based
`for` is a feature added in C++11.

This is a modification of the Style Guide, so rough consensus among
the HotSpot Group members is required to make this change.  Only Group
members should vote for approval (via the github PR), though reasoned
objectsions or comments from anyone will be considered.  A decision on
this proposal will not be made before Monday 7-Dec-2020 at 12h00 UTC.

Since we're piggybacking on github PRs here, please use the PR review
process to approve (click on Review Changes > Approve), rather than
sending a "vote: yes" email reply that would be normal for a CFV.
Other responses can still use email of course.

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

Commit messages:
 - 8254733: HotSpot Style Guide should permit using range-based for loops

Changes: https://git.openjdk.java.net/jdk/pull/1488/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1488&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8254733
  Stats: 5 lines in 2 files changed: 5 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1488.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1488/head:pull/1488

PR: https://git.openjdk.java.net/jdk/pull/1488


More information about the hotspot-dev mailing list