[concurrency-interest] LinkedBlockingQueue does not throw ClassCastException

Szabolcs Ferenczi szabolcs.ferenczi at gmail.com
Mon Apr 16 19:17:20 EDT 2007


On 17/04/07, David Holmes <dcholmes at optusnet.com.au> wrote:
> You cannot test an unknown concrete implementation against optional parts of
> the specification.

Well, I can test it, if it is specified, i.e. if it is intended to be
used. On the other hand, if the specification says that it behaves so
if you like so but it behaves otherwise, if you like it otherwise,
then, of course, I cannot test it. You are right there. Sorry that I
was trying to take it seriously.

Best Regards,
Szabolcs


More information about the Concurrency-interest mailing list