Comment From: wilkinsona
Why do you think it's wrong? The enableShutdownHookAddition method sets the shutdownHookAdditionEnabled flag to true. This then enables calls to Runtime.getRuntime().addShutdownHook. That looks OK to me but I may have overlooked something.
Comment From: mhalbritter
I can't see the typo. enableShutdownHookAddition looks right to me.
Comment From: bclozel
Didn't we fix the typo already in #38241 ?
Comment From: mhalbritter
Yes. The old method was named enableShutdowHookAddition, the new is now named enableShutdownHookAddition, like shown on the screenshot.
I noticed that the gutter on the left side of the editor has a blue section, which indicates a changed line. Maybe the method name has been fixed already in the screenshot?
Comment From: mhalbritter
I think this is a duplicate of #38241.