mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-11 14:52:12 +00:00
New loop detection algorithm
This commit is contained in:
@@ -2144,9 +2144,10 @@ public class AVM2Code implements Serializable {
|
||||
oos.writeObject(this);
|
||||
oos.flush();
|
||||
}
|
||||
ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(baos.toByteArray()));
|
||||
AVM2Code copy = (AVM2Code) ois.readObject();
|
||||
ois.close();
|
||||
AVM2Code copy;
|
||||
try (ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(baos.toByteArray()))) {
|
||||
copy = (AVM2Code) ois.readObject();
|
||||
}
|
||||
return copy;
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
|
||||
Reference in New Issue
Block a user