checked_cast is currently defined in globalDefinitions.hpp. However, the very small and simple definition provided there is significantly deficient, and needs to be improved (JDK-8314258). Correcting it is going to require a non-trivial amount of code, significantly cluttering globalDefinitions.hpp. The corrected definition should be placed in its own file.
- relates to
-
JDK-8314258 checked_cast doesn't properly check some cases
- Open