From 9ef6c19237605d8d7411021f7363d42790e805da Mon Sep 17 00:00:00 2001 From: TudbuT Date: Mon, 25 Apr 2022 04:44:37 +0200 Subject: [PATCH] fix primitive types on fields --- bootstrap/ISBPL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/ISBPL.java b/bootstrap/ISBPL.java index c2c9663..bf3c272 100644 --- a/bootstrap/ISBPL.java +++ b/bootstrap/ISBPL.java @@ -977,7 +977,7 @@ public class ISBPL { if(debug) System.err.println("Java Set: " + field); try { - field.set(stack.pop().object, fromISBPL(stack.pop())); + field.set(stack.pop().object, fromISBPL(stack.pop(), field.getType())); } catch (IllegalAccessException ignored) { }