On Wed, 12 Nov 2025 04:49:37 GMT, Tejesh R <[email protected]> wrote: >> Alexander Zuev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Use correct bug id in the test. > > src/java.desktop/macosx/classes/com/apple/laf/AquaMenuPainter.java line 538: > >> 536: checkIconR.x = w - (checkIconR.x + checkIconR.width); >> 537: if (menuItem.getHorizontalTextPosition() != >> SwingConstants.CENTER) { >> 538: int d = textR.x - iconR.x; > > `d` refers to difference ? Could be `diff` for readability ?
D is for distance but i can rename it into delta - that will cover both meanings. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/28210#discussion_r2524793108
