On Mon, 9 Aug 2021 23:46:09 GMT, Phil Race <p...@openjdk.org> wrote: >> Even non-public method can be called via reflection, so I'd be cautios about >> changing return type > > Apps should not be doing that and the desktop module along with most of the > rest of the JDK is strongly encapsulated and illegal access will be denied. > But given the relationship with the sole (?) caller I think this is not worth > the churn. Not exactly an MT hotspot. I'd revert the changes here and in > MenuBar.
reverted ------------- PR: https://git.openjdk.java.net/jdk/pull/4680