You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Berenguer Blasi (Jira)" <ji...@apache.org> on 2023/05/02 05:20:00 UTC

[jira] [Commented] (CASSANDRA-18449) Integer(int), Long(long), Float(double) were deprecated in JDK9

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

Berenguer Blasi commented on CASSANDRA-18449:
---------------------------------------------

LGTM +1

> Integer(int), Long(long), Float(double) were deprecated in JDK9
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-18449
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18449
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Ekaterina Dimitrova
>            Assignee: Brandon Williams
>            Priority: Normal
>             Fix For: 5.x
>
>
> Now when we are moving with Cassandra 5.0 to 11+17, it is good to declutter at least a bit our build log which  contains 76 deprecation warnings.
> Half of them are for deprecation of Integer(int), Long(long) and Float(double).
> Oracle advises to use factory methods which are likely to yield significantly better space and time performance too. The factory methods are also marked with 
> @IntrinsicCandidate
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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