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

Sparc numeric keypad arrow keys do not work in JPasswordFields.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.0
    • 1.2.2, 1.3.0
    • client-libs
    • kestrel
    • sparc
    • solaris_2.6, solaris_7, solaris_8

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: