JDK-8310577 : Fix -Wconversion warnings in interpreter and oops
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-06-21
  • Updated: 2023-09-05
  • Resolved: 2023-06-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 22
22 b04Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
There are some conversion warnings from the interpreter and oops header files that are simple to fix.  Because they're included so many times, the warnings multiply:

1284 src/hotspot/share/interpreter/interpreter.hpp
1228 src/hotspot/share/oops/stackChunkOop.inline.hpp
1049 src/hotspot/share/oops/markWord.hpp
831 src/hotspot/share/interpreter/invocationCounter.hpp
646 src/hotspot/share/code/stubs.hpp
642 src/hotspot/share/interpreter/templateInterpreter.hpp
614 src/hotspot/share/interpreter/oopMapCache.hpp





Comments
Changeset: 5a82fa3b Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2023-06-22 19:37:01 +0000 URL: https://git.openjdk.org/jdk/commit/5a82fa3bb278b5b80b9ede0619f364fe13cdbede
22-06-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/14604 Date: 2023-06-21 19:45:45 +0000
21-06-2023