RFR: 8316930: HotSpot should use noexcept instead of throw()

Julian Waters jwaters at openjdk.org
Tue Sep 26 02:58:43 UTC 2023


throw() has been deprecated since C++11 alongside dynamic exception specifications, we should replace all instances of it with noexcept to prepare HotSpot for later versions of C++

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

Commit messages:
 - Formatting
 - throw () should be swapped to noexcept

Changes: https://git.openjdk.org/jdk/pull/15910/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15910&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8316930
  Stats: 94 lines in 39 files changed: 0 ins; 0 del; 94 mod
  Patch: https://git.openjdk.org/jdk/pull/15910.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15910/head:pull/15910

PR: https://git.openjdk.org/jdk/pull/15910


More information about the hotspot-dev mailing list