RFR: JDK-8300069: Left shift of negative value in share/adlc/dict2.cpp

Justin King jcking at openjdk.org
Thu Jan 12 18:56:53 UTC 2023


Refactor `hashstr` to use unsigned integrals to avoid undefined behavior.

-------------

Commit messages:
 - Left shift of negative value in share/adlc/dict2.cpp

Changes: https://git.openjdk.org/jdk/pull/11977/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11977&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8300069
  Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/11977.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11977/head:pull/11977

PR: https://git.openjdk.org/jdk/pull/11977


More information about the hotspot-compiler-dev mailing list