[
https://issues.apache.org/jira/browse/CASSANDRA-2682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13037481#comment-13037481
]
Jonathan Ellis commented on CASSANDRA-2682:
-------------------------------------------
looks like converting array access to ByteBuffer.get(i) would be a better fix,
since you'd avoid an unnecessary copy for direct buffers. (this is what
TimeUUIDType does.)
> UUIDType assumes ByteBuffer has an accessible backing array
> -----------------------------------------------------------
>
> Key: CASSANDRA-2682
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2682
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.8 beta 1
> Reporter: Ed Anuff
> Assignee: Ed Anuff
> Attachments: 2682.txt
>
>
> I'm very embarrassed to say this got left out in the UUIDType, but it's not
> doing a hasArray() check on the bytebuffers passed to it, causing it to
> break. I'll make a patch to fix it.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira