RFR: 8314488: Compiling the JDK with C++17

Andrew Haley aph at openjdk.org
Sat Aug 16 09:20:11 UTC 2025


On Thu, 26 Jun 2025 02:01:55 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> I'm hijacking the PR mechanism as a way to discuss new C++17 features that can
> be more easily structured and captured than bare email. Once discussion
> settles down I'll turn the results into HotSpot Style Guide changes. I don't
> intend to integrate any version of this document to the OpenJDK repository.

doc/cpp17-features.md line 440:

> 438: use of the library function `std::as_const`. But explicit capture parameters
> 439: are recommended against in HotSpot. `FORBIDDEN_ROI`.
> 440: 

How did we get from "recommended against" to `FORBIDDEN_ROI`?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25992#discussion_r2280329522


More information about the hotspot-dev mailing list