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

Robert Stupp commented on CASSANDRA-9431:
-----------------------------------------

Just that I used ecj to compile the Java UDFs (which was basically a reworked 
copy of what Tomcat does).

But maybe 
[this|http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-ant_javac_adapter.htm]
 can help:
All you basically need to compile with ecj is to add the {{ecj.jar}} file ant's 
classpath and set the {{build.compiler}} property.

Regarding ecj vs. javac: Ariel ran into a javac issue - but didn't recognize it 
since he's using Eclipse; it was a really strange thing. All I want to say is 
that we should only use ecj to for analysis/validation (and not for 
compilation).

> Static Analysis to warn on unsafe use of Autocloseable instances
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-9431
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9431
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Benedict
>            Assignee: T Jake Luciani
>             Fix For: 3.0 beta 1
>
>
> The ideal goal would be to fail the build under any unsafe (and not annotated 
> as considered safe independently) uses of Autocloseable. It looks as though 
> eclipse (and hence, hopefully ecj) has support for this feature, so we should 
> investigate if it meets our requirements and we can get it integrated



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

Reply via email to