[cp-patches] FYI: Fix deadlock on Logger

Mario Torre neugens at aicas.com
Fri Apr 18 16:25:37 UTC 2008


The following patch fixes a deadlock in Logger, I'm committing also a
tescase for it.

Cheers,
Mario

2008-04-18  Mario Torre  <neugens at aicas.com>

	PR classpath/35974
	* java/util/logging/Logger.java: fix a deadlock and reformat code.
	Now all the methods of the class get a lock on a static lock, this
	avoids a lock when getLogger and log are used concurrently.
-- 
Mario Torre, Software Developer, http://www.jroller.com/neugens/
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-53
pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
Fingerprint: BA39 9666 94EC 8B73 27FA  FC7C 4086 63E3 80F2 40CF

USt-Id: DE216375633, Handelsregister HRB 109481, AG Mannheim
Geschäftsführer: Dr. James J. Hunt

Please, support open standards:
http://opendocumentfellowship.org/petition/
http://www.nosoftwarepatents.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2008-04-18-logging.patch
Type: text/x-patch
Size: 76350 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20080418/34b9fcea/2008-04-18-logging-0001.bin


More information about the Classpath-patches mailing list