mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-18 16:41:55 +00:00
Made PushShortIns.execute properly handle short integer overflow
This commit is contained in:
@@ -38,7 +38,7 @@ public class PushShortIns extends InstructionDefinition implements PushIntegerTy
|
||||
|
||||
@Override
|
||||
public void execute(LocalDataArea lda, AVM2ConstantPool constants, List<Object> arguments) {
|
||||
lda.operandStack.push(arguments.get(0));
|
||||
lda.operandStack.push((long) ((Number) arguments.get(0)).shortValue());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user