-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 25, 26, 27
-
Component/s: hotspot
-
master
-
riscv
-
linux
As described in jvms[1], the index of bytecode aastore should be type of `int`. We should use the `lw` instruction (which loads a 32-bit index from the operand stack and performs sign extension) instead of the `ld` instruction.
1. https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-6.html#jvms-6.5.aastore
1. https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-6.html#jvms-6.5.aastore
- duplicates
-
JDK-8376571 RISC-V: Interpreter: Load array index as signed int
-
- Closed
-
- links to
-
Commit(master)
openjdk/jdk/3a327577
-
Review(master)
openjdk/jdk/29458