[
https://issues.apache.org/jira/browse/CASSANDRA-18449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17712109#comment-17712109
]
Ekaterina Dimitrova edited comment on CASSANDRA-18449 at 4/13/23 10:02 PM:
---------------------------------------------------------------------------
The deprecation warnings are now reduced by half. This will make our log more
readable and less possible to miss any real issue we might want/have to
consider.
[Patch|https://github.com/ekaterinadimitrova2/cassandra/commit/92196b941d305ba848e576394c2e4e0d331f626f],
[CI|https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra?branch=remove-deprecation-warnings]
CI still running, I will push to patch available when successfully finished. I
opted out of running tests in a loop as the change is pretty deterministic.
was (Author: e.dimitrova):
The deprecation warnings are now reduced by half. This will make our log more
readable and less possible to miss any real issue we might want to consider.
[Patch|https://github.com/ekaterinadimitrova2/cassandra/commit/92196b941d305ba848e576394c2e4e0d331f626f],
[CI|https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra?branch=remove-deprecation-warnings]
CI still running, I will push to patch available when successfully finished. I
opted out of running tests in a loop as the change is pretty deterministic.
> 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: Ekaterina Dimitrova
> 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: [email protected]
For additional commands, e-mail: [email protected]