[ https://issues.apache.org/jira/browse/CASSANDRA-17127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17569825#comment-17569825 ]
Claude Warren commented on CASSANDRA-17127: ------------------------------------------- [~brandon.williams] I don't know of any issue with any of the listed classes in general. I expect that they are listed in the checkstyle so that they will not be used in the main/released code. This makes sense given the Cassandra design goals. However, it seems to me that use of the classes in testing is reasonable and, in many cases, correct. My XSLT proposal is that we allow specific classes in the testing environment that are not allowed in the main code. Checkstyle will be enabled across the build and there will be one location where the permissions are granted. > Remove use of deprecated java.util.concurrent in tests > ------------------------------------------------------ > > Key: CASSANDRA-17127 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17127 > Project: Cassandra > Issue Type: Sub-task > Components: Test/unit > Reporter: Brandon Williams > Assignee: Claude Warren > Priority: Normal > > {noformat} > 1 Illegal import - java.util.concurrent.ArrayBlockingQueue. > [IllegalImport] > 11 Illegal import - java.util.concurrent.CompletableFuture. > [IllegalImport] > 39 Illegal import - java.util.concurrent.CountDownLatch. [IllegalImport] > 48 Illegal import - java.util.concurrent.Executors. [IllegalImport] > 3 Illegal import - java.util.concurrent.LinkedBlockingQueue. > [IllegalImport] > 5 Illegal import - java.util.concurrent.Semaphore. [IllegalImport] > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org