Skip to content

Commit f04e556

Browse files
committed
8355711: Remove incorrect overflow check in RawBytecodeStream::raw_next
Reviewed-by: dlong, matsaave
1 parent 604225f commit f04e556

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/hotspot/share/interpreter/bytecodeStream.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,6 @@ class RawBytecodeStream: public BaseBytecodeStream {
137137
&& code != Bytecodes::_lookupswitch, "can't be special bytecode");
138138
_is_wide = false;
139139
_next_bci += len;
140-
if (_next_bci <= _bci) { // Check for integer overflow
141-
code = Bytecodes::_illegal;
142-
}
143140
_raw_code = code;
144141
return code;
145142
} else {

0 commit comments

Comments
 (0)