On Tue, 24 Feb 2026 04:40:13 GMT, Prasanta Sadhukhan <[email protected]> wrote:
>It is only called from one place This is our class, but above I meant the usage in the wild by applications. > and as per OptionPaneUI spec it should request the component to have focus > which I believe the author of this method intended for the passed component > else there is no need to pass in the param The author of OptionPaneUI appears to have expected that behavior. However, the specification for the subclass BasicOptionPaneUI overrides it. So the question is which specification should be followed, and if the code is changed, which specification should be updated accordingly. ------------- PR Comment: https://git.openjdk.org/jdk/pull/29738#issuecomment-3963219431
