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

Afshin Zafari azafari at openjdk.org
Tue Feb 18 09:59:29 UTC 2025


On Mon, 10 Feb 2025 10:20:08 GMT, Afshin Zafari <azafari at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 160db5f0
Author:    Afshin Zafari <azafari at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/160db5f0f000f8471f71e0725da862d57db28c8a
Stats:     2 lines in 1 file changed: 1 ins; 0 del; 1 mod

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

Reviewed-by: dholmes, jsjolen

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

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


More information about the hotspot-runtime-dev mailing list