JDK-8247825 : Replace PrimitiveConversions::cast with C++20 std::bit_cast
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 16
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2020-06-18
  • Updated: 2023-01-10
  • Resolved: 2020-09-20
Related Reports
Relates :  
Relates :  
Description
C++20 adds std::bit_cast.  It completely covers the cases currently supported by our PrimitiveConversions::cast.  Replace when we have C++20 support.


Comments
Reopen when we can use C++20. Labelled with cpp20 so we can find it and others like it.
20-09-2020