giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maja Kabiljo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-724) UnsafeByteArrayOutputStream.writeUTF should call ensureSize
Date Thu, 16 Jan 2014 18:53:23 GMT

    [ https://issues.apache.org/jira/browse/GIRAPH-724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13873756#comment-13873756
] 

Maja Kabiljo commented on GIRAPH-724:
-------------------------------------

[~greg.jensen] to avoid this kind of situation, next time you can assign the issue to yourself
so others would know that you are working on it. If you want, you can prepare a patch on top
of this which adds your tests to current ones.

> UnsafeByteArrayOutputStream.writeUTF should call ensureSize
> -----------------------------------------------------------
>
>                 Key: GIRAPH-724
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-724
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Maja Kabiljo
>         Attachments: GIRAPH-724.patch, GIRAPH-724.patch, GIRAPH-724.patch, GIRAPH-724.patch,
greg.jensen.testUnsafe.java
>
>
> UnsafeByteArrayOutputStream.writeUTF can throw an exception if the String doesn't fit
in current byte array because ensureSize is not called.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message