cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mck (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-14563) Add animalsniffer to build to ensure runtime jdk compatbility
Date Sat, 28 Jul 2018 04:32:00 GMT

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

mck commented on CASSANDRA-14563:
---------------------------------

{quote}one of the alternate approaches (to animal sniffer), to add java7 specific "build&unit_test"
workflow in addition to java8 workflow, in circleCI config.{quote}

Sure, but it's an expensive way for us to support jdk1.7 at runtime, as afaik we have no actual
need to support compiling with jdk1.7.
And AnimalSniffer catches any incompatibilities immediately at compile-time. (Our feedback
loop from the CI systems is not ideal atm.)


> Add animalsniffer to build to ensure runtime jdk compatbility
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-14563
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14563
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Build
>            Reporter: mck
>            Assignee: Sumanth Pasupuleti
>            Priority: Minor
>              Labels: lhf
>
> Cassandra-2.2 still supports running on JDK1.7
> No tests check this though, as all build and test with JDK1.8
> Adding the ant animalsniffer task can check that jdk1.8 classes or methods are not used
accidentally.
> ref: http://www.mojohaus.org/animal-sniffer/animal-sniffer/index.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message