>>>>> "Robert" == Robert Dodier <robert@xxxxxxxxxxxxxx> writes: Robert> PushbackInputStream.close is synchronized. Apparently there is a Robert> deadlock: if I cut out the "synchronized" keyword, the program runs Robert> to completion. I am guessing that there is a thread sleeping in read() Robert> or something like that; I didn't investigate further. Could you file this in bugzilla? That way at least it won't get lost. Or, send a patch :-) Tom