RFR: JDK-8318854: [macos14] Running any AWT app prints Secure coding warning [v2]

Harshitha Onkar honkar at openjdk.org
Thu Nov 9 22:30:32 UTC 2023


On Thu, 9 Nov 2023 20:25:09 GMT, Phil Race <prr at openjdk.org> wrote:

>> Harshitha Onkar has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   local var reused
>
> src/java.desktop/macosx/native/libawt_lwawt/awt/ApplicationDelegate.m line 534:
> 
>> 532: 
>> 533:     ApplicationDelegate *delegate = [ApplicationDelegate sharedDelegate];
>> 534:     if ([ApplicationDelegate sharedDelegate] != nil) {
> 
> more logical here to check the local variable you just defined.

Updated.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16569#discussion_r1388649837


More information about the client-libs-dev mailing list