commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Fwd: svn commit: r1617904 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/xz/
Date Mon, 18 Aug 2014 11:29:42 GMT
On 2014-08-18, sebb wrote:

> I suspect just using a volatile enum would be sufficient as enums are
> thread-safe so it is just necessary to ensure safe publication.

I went with the volatile route since the code never used compareAndSet
or one of its friends anyway.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message