- 
    Enhancement 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    None
- 
    None
Overall, there are two ways to refactor existing code to avoid this:
1. Call the deprecated API in a declaration statement. Sometimes this means a temporary or useless variable must be declared.
2. Extract the call into a separate method
During the automatic conversion, we have a full list of the distance between where each annotation is added and where the deprecated API it guards is. Sub-tasks will be created in this issue to deal with them area by area. Those cases with the longest distance will be considered first.
- relates to
- 
                    JDK-8264713 JEP 411: Deprecate the Security Manager for Removal -           
- Closed
 
-