Thomas Van Driessche wrote:oops sorry
not a reference of tree is passed to writeobject, a reference of f.
And since the instance var tree from f is static, there shouldn't even be a try to serialise that...
So there can not be thrown a runtime exception though?
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton