JDK-8210319 : [s390]: Use of shift operators not covered by cpp standard
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: s390x
  • Submitted: 2018-09-03
  • Updated: 2018-10-24
  • Resolved: 2018-09-10
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 11
Recent discussion (e.g. JDK-8209786) re new warnings with gcc7.3 triggered a review of s390 platform code. A few places were found which should be fixed to not rely on "undefined" or "compiler-defined" behaviour. See the attached text file for a summary of what's well-defined and what is not.
Fix Request - This is a code hardening fix. It avoids exploitation of platform specific compiler behavior not covered by the language standard. - This is a [s390] platform only change. - The risk is considered low: + [s390] platform only. + no functional change, mostly type casts - Fix applied cleanly to jdk-updates/jdk11u repository