On Mon, 27 Mar 2023 13:26:22 GMT, Daniel Fuchs <[email protected]> wrote:
>> src/java.base/unix/classes/java/lang/ProcessImpl.java line 97:
>>
>>> 95: * @throw Error if the requested launch mechanism is not found or
>>> valid
>>> 96: */
>>> 97: @SuppressWarnings("removal")
>>
>> What is deprecated for removal in this method?
>
> `GetPropertyAction::privilegedGetProperty` has been marked deprecated for
> removal because it uses the SecurityManager
As I can see it uses deprecated `SecurityManager`, but it's not deprecated
itself.
Do I miss something? Or javac generates warning even in such cases?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/12931#discussion_r1149314439