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

Doc bug: Behavior of CTRL-SHIFT-F1 in a Window should be documented

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • client-libs
    • None
    • beta
    • generic
    • generic

      I noticed this block of code in Window.java:

          void preProcessKeyEvent(KeyEvent e) {
              // Dump the list of child windows to System.out.
              if (e.isActionKey() && e.getKeyCode() == KeyEvent.VK_F1 &&
                  e.isControlDown() && e.isShiftDown() &&
                  e.getID() == KeyEvent.KEY_PRESSED) {
                  list(System.out, 0);
              }
          }

      Not that ctrl-shift-F1 is that common of a keystroke, but this does create
      an undocumented edge case. After talking to Tom Ball, the original author of
      this code, we have decided to keep the debugging hook. However, we need to
      document it properly.

            sharonz Sharon Zakhour (Inactive)
            dmendenhsunw David Mendenhall (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: