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

Johan Sjölen jsjolen at openjdk.org
Fri Jun 27 09:12:40 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.

Are we supposed to put our comments in this PR :-)?

`constexpr if` statements would be nice to have. Seldom used, but the alternative is even more 'magical looking'.

>From Julian's linked PR, apparently AIX's C++ compiler is capable of compiling C++17. Do we have any other "obscure" platform which the community is interested in supporting?

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

PR Comment: https://git.openjdk.org/jdk/pull/25992#issuecomment-3012289526
PR Comment: https://git.openjdk.org/jdk/pull/25992#issuecomment-3012292934


More information about the hotspot-dev mailing list