JDK-8255578 : [JVMCI] be more careful about reflective reads of Class.componentType.
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:11,15,16
Priority:P3
Status:Resolved
Resolution:Fixed
Submitted:2020-10-29
Updated:2024-12-09
Resolved:2020-11-02
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.
Class.componentType is statically typed as Class but can actually contain an int[]. When statically folding reads of this field JVMCI needs to always return null for non array klasses.
ILW = Incorrect folding of reads from Class.componentType, with JVMCI (no reported issues), no known workaround but disable compilation of affected method = HLM = P3