chia7712 commented on PR #17522:
URL: https://github.com/apache/kafka/pull/17522#issuecomment-2498137933

   @frankvicky Could you please use `@SuppressWarnings("removal")` to fix the 
warnings? 
   
   ```
   > Task :connect:runtime:compileTestJava
   
/home/chia7712/project/kafka/connect/runtime/src/test/java/org/apache/kafka/connect/runtime/isolation/SynchronizationTest.java:464:
 warning: [removal] SecurityManager in java.lang has been deprecated and marked 
for removal
               SecurityManager s = System.getSecurityManager();
               ^
   
/home/chia7712/project/kafka/connect/runtime/src/test/java/org/apache/kafka/connect/runtime/isolation/SynchronizationTest.java:464:
 warning: [removal] getSecurityManager() in System has been deprecated and 
marked for removal
               SecurityManager s = System.getSecurityManager();
                                         ^
   2 warnings
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to