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

Application dies, if Control+Tab is typed with input focus on TextArea

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1.1
    • CPU:
      sparc
    • OS:
      solaris_2.5.1, solaris_2.6
    • Verification:
      Not verified

      Description


      stephen.fitch@UK 1997-06-20

      Problem
      -------

      Pressing the combination of the CONTROL KEY and the TAB key will
      cause this Java application to die with a segmentation violation.

      Java Workshop 2.0 application dies, when Control+Tab is typed with
      input focus within the TextArea in this example.

      Code Example
      ------------

      The following .gui file can be used to exhibit the problem:

      GUI DESCRIPTION VERSION 7.0
      Encoding=8859_1
      Root root1 {
        java.awt.Dimension appletSize width=284;height=234
        java.lang.String groupType Frame
        java.lang.String generateClass ctrl_tab_ta
        child list {
          java.awt.FrameShadow frame1 {
            java.lang.String title Control-TAB-TextArea
            java.awt.Dimension layoutSize width=415;height=365
            java.awt.Point layoutLocation x=313;y=322
            child list {
              GBPanelShadow gbpanel1 {
                [I rowHeights 14
                GBC GBConstraints x=0;y=0;fill=both
                [I columnWidths 14
                [D rowWeights 1.0
                [D columnWeights 1.0
                child list {
                  java.awt.TextAreaShadow textarea1 {
                    GBC GBConstraints x=0;y=0;fill=both;ipadx=94
                    java.lang.String text "

      Select focus on this window and type:

      CTRL+TAB

      A segmentation violation will follow."
                  }
                }
              }
            }
          }
        }
      }

      To Reproduce
      ------------

      Solaris 2.5.1 || Solaris 2.6 build 31.

      CDE Desktop.

      Use Java Workshop 2.0 build 114.

      Import the .gui from above.

      Generate the application:

      - Select focus within the TextArea and then type:

      CTRL+TAB

      This will produce a segmentation violation and the process
      is killed.

      Expectations
      ------------

      A fix, so that CTRL+TAB does not kill the application.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              xdengsunw Xianfa Deng (Inactive)
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: