Re: trouble w/ synchronized close method in PushbackInputStream

Tom Tromey <[email protected]>
Newsgroups gmane.comp.java.classpath.devel
Message-ID <[email protected]>
>>>>> "Robert" == Robert Dodier <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.