cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8241) Use javac instead of javassist
Date Fri, 27 Mar 2015 14:48:54 GMT

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

Aleksey Yeschenko commented on CASSANDRA-8241:
----------------------------------------------

Before going any further w/ Eclipse, make sure we can bundle it at all, license-wise.
Eclipse Distribution License is ASF-compatible (see https://www.apache.org/legal/resolved.html#category-a),
but there is nothing there about Eclipse Public License. I'm not sure which one the Eclipse
thing is covered by, but if it's not EDL, it might have to be vetted, though ultimately I
expect it to be compatible.

> Use javac instead of javassist
> ------------------------------
>
>                 Key: CASSANDRA-8241
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8241
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>              Labels: udf
>             Fix For: 3.0
>
>         Attachments: 8241-ecj.txt, udf-java-javac.txt
>
>
> Using JDK's built-in Java-Compiler API has some advantages over javassist.
> Although compilation feels a bit slower, Java compiler API has some advantages:
> * boxing + unboxing works
> * generics work
> * compiler error messages are better (or at least known) and have line/column numbers
> The implementation does not use any temp files. Everything's in memory.
> Patch attached to this issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message