Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
slievrly committed Jan 11, 2024
1 parent 5e35c8f commit 6bcf556
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public <T> byte[] serialize(T t) {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
Hessian2Output output = new Hessian2Output(baos);
output.setSerializerFactory(HessianSerializerFactory.getInstance());
output.writeObject(output);
output.writeObject(t);
output.close();
stream = baos.toByteArray();
} catch (IOException e) {
Expand Down

0 comments on commit 6bcf556

Please sign in to comment.