On Fri, 12 Mar 2021 08:16:09 GMT, Toshio Nakamura <tnakam...@openjdk.org> wrote:
> Hi, > Please review the fix for the issue of JPasswordField and activated > InputMethod on macOS. > I don't think this condition is usual, but I'd like to avoid crash. > > It needs two additional checks in "AWTView > attributedSubstringForProposedRange:actualRange". > > Tested test/jdk/java/awt on macOS Catalina and BigSur (both headful), and no > regression was occurred. This pull request has now been integrated. Changeset: 32c7fcc6 Author: Toshio Nakamura <tnakam...@openjdk.org> Committer: Dmitry Markov <dmar...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/32c7fcc6 Stats: 5 lines in 1 file changed: 4 ins; 0 del; 1 mod 8263490: [macos] Crash occurs on JPasswordField with activated InputMethod Reviewed-by: dmarkov, serb, kizune ------------- PR: https://git.openjdk.java.net/jdk/pull/2959