make ISBPLStreamer.streams static to avoid wrong IndexOutOfBounds

This commit is contained in:
Daniella / Tove 2022-05-23 11:12:32 +02:00
parent 2eedde2f67
commit 32a915b63e
2 changed files with 4 additions and 1 deletions

View file

@ -2282,7 +2282,7 @@ class ISBPLStreamer {
this.isbpl = isbpl; this.isbpl = isbpl;
} }
public ArrayList<ISBPLStream> streams = new ArrayList<>(); public static ArrayList<ISBPLStream> streams = new ArrayList<>();
public synchronized void action(Stack<ISBPLObject> stack, int action) throws IOException { public synchronized void action(Stack<ISBPLObject> stack, int action) throws IOException {
ISBPLStream stream; ISBPLStream stream;

View file

@ -49,6 +49,9 @@ func makeCode {
idx ++ =idx idx ++ =idx
} }
1000 =idx 1000 =idx
JIO context debug if {
stdin itos puts
}
} =code } =code
def c def c