[zeromq-dev] JeroMQ 0.3.5 - Purpose of assert on line 173 Signaler.java

Telford Berkey tberkey at synthostech.com
Tue Jul 28 21:32:31 CEST 2015

While running load tests with JeroMQ 0.3.5, I've periodically received an assertion error for line 173 in Signaler.java.

Other than the assert, there isn't any error handling related to the number of bytes not being equal to 1.  If asserts are disabled for this class, everything runs correctly and messages are received fine.

            assert nbytes == 1;

Are there any issues with disabling asserts for Signaler.java?  If not, what is the purpose of line 173?


Telford Berkey
Software Architect
tberkey at synthostech.com<mailto:tberkey at synthostech.com>

[Synthos Technologies]

Synthos Technologies, A Division of Qbase, LLC
3800 Pentagon Blvd., Suite 110
Beavercreek, OH  45431

office: +937-521-4200


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150728/1d02573e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2675 bytes
Desc: image001.jpg
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150728/1d02573e/attachment.jpg>

More information about the zeromq-dev mailing list