Netflix / astyanax

Cassandra Java Client
Apache License 2.0
1.04k stars 355 forks source link

ObjectReader and ObjectWriter have thread creation exceptions for object names with embedded % #554

Open serranom opened 9 years ago

serranom commented 9 years ago

The ThreadFactorBuilder embeds the objectName into the name format of the thread. If the objectName has an embedded % sign, a RuntimeException occurs trying to set the name of the thread upon creation. The objectName needs to have % encoded as %% when used in for the setNameFormat method