JDK-8309692 : Fix -Wconversion warnings in javaClasses
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 22
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-06-09
  • Updated: 2023-08-11
  • Resolved: 2023-06-09
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 b02Fixed
Related Reports
Relates :  
Relates :  
Description
There are 2456 warnings that come from javaClasses.inline.hpp and 6 from javaClasses.cpp, that are trivially fixed with a cast (that's already checked for).

2456 src/hotspot/share/classfile/javaClasses.inline.hpp
6 src/hotspot/share/classfile/javaClasses.cpp

Comments
Changeset: beec734f Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2023-06-09 20:03:48 +0000 URL: https://git.openjdk.org/jdk/commit/beec734fdd39b39cfc6aec18866b6a7b18c70aa9
09-06-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/14397 Date: 2023-06-09 16:00:51 +0000
09-06-2023