You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2009/04/14 17:15:14 UTC

[jira] Commented: (CASSANDRA-37) Remove JDK-derived code from project

    [ https://issues.apache.org/jira/browse/CASSANDRA-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698800#action_12698800 ] 

Jonathan Ellis commented on CASSANDRA-37:
-----------------------------------------

the only nontrivial change here is to change BitSet serialization to use the JDK's hooks for that since we can't access private fields directly anymore.  the tests make sure to exercise that part of the code (verified by cobertura).  Performance impact should be minimal since these are only read once in the process's lifetime.

> Remove JDK-derived code from project
> ------------------------------------
>
>                 Key: CASSANDRA-37
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-37
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Critical
>             Fix For: 0.3
>
>         Attachments: 0001-add-SSTable-tests.-in-particular-we-want-to-be-sure.patch, 0002-r-m-copied-JDK-code.patch
>
>
> Some classes appear to have been copied from the JDK source and altered to improve them for use in Cassandra.  Unfortunately neither the classic JDK nor the OpenJDK license is compatible with the Apache license that Cassandra is operating under.  See https://issues.apache.org/jira/browse/LEGAL-46
> Modified JDK classes include:
>  - BitSet [JDK: BitSet]
>  - FastByteArrayInputStream [ByteArrayInputStream]
>  - FastByteArrayOutputStream [ByteArrayOutputStream]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.