8355711: Remove incorrect overflow check in RawBytecodeStream::raw_next

Reviewed-by: dlong, matsaave
This commit is contained in:
Johan Sjölen 2025-05-05 07:14:24 +00:00
parent 604225fb0c
commit f04e556d47

View File

@ -137,9 +137,6 @@ class RawBytecodeStream: public BaseBytecodeStream {
&& code != Bytecodes::_lookupswitch, "can't be special bytecode");
_is_wide = false;
_next_bci += len;
if (_next_bci <= _bci) { // Check for integer overflow
code = Bytecodes::_illegal;
}
_raw_code = code;
return code;
} else {