Steve Luke wrote:
Harry Tuttle wrote:I found some explanations here
That link provides good information, but in addition to that, for some reason you put the Total report inside your catch(InterruptedException) clause. notifyAll() does not interrupt wait(), it notifies it that it should stop normally, ergo the Total report should not get called (unless some other interruption occurred). You do not want the report in the catch clause, you want it either just after the wait() (at the end of the try clause) or just after the catch clause.
Harry Tuttle wrote:... and the following code on page 679 is quite clear to me
Martin Vajsar wrote:On line 8 you call bar.doStuff(), but this method does nothing (it's empty - see its definition on line 24). You probably intended (but forgot) to call f.foof() in the Bar.doStuff.method.
William Brogden wrote:What does the URL that works on the browser look like?
Where, exactly, do you get this error message?
Unpack the binary distribution into a convenient location so that the
distribution resides in its own directory (conventionally named
Stephan van Hulst wrote:Harry, sorry for nitpicking (again), but objects may be eligible for collection even if they have references to them. What you mean is *reachable references*, which is an important difference. If two objects reference eachother, but nothing else does, they may still be garbage collected because they are not reachable.
Jan tenpas wrote:When line 16 is reached, how many objects will be eligible for garbage collection?
Harry Tuttle wrote:
I have a html-file named index.html with a send button that runs on Apache TomCat 7.0.2. When the send button is pushed a Servlet class named TestServlet should be executed, here call in the html-file