Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8199391

Found cause and fix for bug # 8194873

XMLWordPrintable

    • x86
    • generic

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      See Bug # 8194873

      The cause of the bug is right here:

      http://hg.openjdk.java.net/jdk/jdk/file/ba545e52b932/src/java.desktop/windows/native/libawt/windows/awt_Component.cpp#l2718

      The jint AwtComponent::GetJavaModifiers() function adds a check for VK_RMENU but VK_MENU will already check both ALT keys. This causes TWO bits to be set for the right ALT key which breaks many apps including built-in Swing components.

      Get rid of the VK_RMENU check ASAP. Hopefully this can be included in JDK 10. Don't want to wait until JDK 11 !!!

      REGRESSION. Last worked in version 8u162

      ADDITIONAL REGRESSION INFORMATION:
      Was working in Java8


      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Remove check for VK_RMENU

            pardesha Pardeep Sharma
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: