RFR: 8340110: Ubsan: verifier.cpp:2043:19: runtime error: shift exponent 100 is too large for 32-bit type 'int' [v2]

Afshin Zafari azafari at openjdk.org
Mon Feb 17 15:56:46 UTC 2025


> The value 100 for shift comes from a test which shuffles the bytecode contents and tries to verify the resulting bytecode. So, the solution is first check if there is no error in verification then use left-shift to find the type of the class being verified.

Afshin Zafari has updated the pull request incrementally with one additional commit since the last revision:

  comopared wit External Max instead.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23539/files
  - new: https://git.openjdk.org/jdk/pull/23539/files/dbb1ef7a..4fc8fe81

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23539&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23539&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/23539.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23539/head:pull/23539

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


More information about the hotspot-runtime-dev mailing list