mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-28 14:30:46 +00:00
New loop detection algorithm
This commit is contained in:
@@ -270,9 +270,10 @@ public class Helper {
|
||||
oos.writeObject(o);
|
||||
oos.flush();
|
||||
}
|
||||
ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(baos.toByteArray()));
|
||||
Object copy = ois.readObject();
|
||||
ois.close();
|
||||
Object copy;
|
||||
try (ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(baos.toByteArray()))) {
|
||||
copy = ois.readObject();
|
||||
}
|
||||
return copy;
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
|
||||
Reference in New Issue
Block a user