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

Sparc numeric keypad arrow keys do not work in JPasswordFields.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.2.2, 1.3.0
    • Fix Version/s: 1.3.0
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      kestrel
    • CPU:
      sparc
    • OS:
      solaris_2.6, solaris_7, solaris_8

      Description

      The numeric keypad arrow keys have no effect in JPasswordFields on sparc/Solaris
      systems. Intel/Solaris is fine (with the same key bindings). The problem was
      discovered using JCK-122 test api/javax_swing/interactive/JPasswordFieldTests.html ,
      testCaseID JPasswordFieldTest0001.

      algol% cat X.ksh
      #!/bin/ksh
      JCK=/net/mulder.eng/export/mulder1/JCK/JCK-122/JCK-runtime-api-122
      JDK=/net/mulder.eng/export/mulder3/jdk12x/`/bin/uname -p`/jdk1.2.2_S
      export PATH=${JDK}/bin:/usr/bin:.
      export CLASSPATH=.:${JCK}/classes:${JCK}/javatest.jar
      unset LD_LIBRARY_PATH
      export THREADS_FLAG=native
      if [ ! -f JPasswordFieldTests.java ]; then
        cp ${JCK}/tests/api/javax_swing/interactive/JPasswordFieldTests.java .
      fi
      if [ ! -f JPasswordFieldTests.html ]; then
        cp ${JCK}/tests/api/javax_swing/interactive/JPasswordFieldTests.html .
      fi
      javac -d . JPasswordFieldTests.java
      java -Xfuture javasoft.sqe.tests.api.javax.swing.interactive.JPasswordField.JPasswordFieldTests -TestCaseID JPasswordFieldTest0001

      Bring up the test window.
      Enter two characters into the JPasswordField.
      Use both the "non-numeric keypad" left and right arrow keys. Leave the cursor
        in the center of the JPasswordField.
      Attempt to use the left arrow key in the numeric keypad. Nothing will happen.
      Attempt to use the right arrow key in the numeric keypad. Nothing will happen.

      allan.jacobs@Eng 1999-05-24

      Test fails on sparc using 1.3.0 build D (September 2, 1999).
      Test passes on x86.

      allan.jacobs@Eng 1999-09-03

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              svioletsunw Scott Violet (Inactive)
              Reporter:
              ajacobssunw Allan Jacobs (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: