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

JCK1.4, interactive: api/java_swing/interactive/JPMenutTests.html#JPMenuTests, W

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      hopper
    • CPU:
      x86, sparc
    • OS:
      generic, linux_redhat_6.2, solaris_8, windows_95, windows_2000, windows_xp
    • Verification:
      Verified

      Description



      Name: asR10013 Date: 04/09/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : jdk1.4.1-b07, jdk1.4.1-b06, jdk1.4.0
      JCK : jck1.4-b17
      Platform[s] : Windows 2000 pro, Windows XP, Windows 98, RH Linux 6.2, sparc
      switch/Mode : -client -Xmixed -Xfuture
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]: api/java_swing/interactive/JPMenuTests.html#JPMenuTests [JPMenutTests0008]
       
      The bottom border of JPopupMenu is not always drawn for small height values.

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_swing/interactive/JPMenuTests.java
       
      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/hopper/b07/jck14/win32/win2000_client_linux-2/workDir/api/java_swing/interactive/JPMenuTests_JPMenuTests.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change JCK and JDK variables)
       
      The test window appears and you are provided with instructions to
      complete the test. Enter 18 (for example) in the "Height" field and right-click
      on the panel. Notice that in the menu appeared the bottom border is not drawn.


      --- script start ---
      #!/bin/sh

      JCK="h:/java/jck1.4/JCK-runtime-14"
      JDK="h:/java/jdk1.4.1/win32.b07"
      switches="-client -Xmixed -Xfuture"
      CLASSPATH="${JCK}/classes;${JCK}/javatest.jar"
       
      $JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.javax.swing.interactive.JPMenu.JPMenuTests -TestCaseID JPMenuTests0008 -TestDirURL file:///${JCK}/tests/api/javax_swing/interactive/JPMenuTests.html#JPMenuTests

      --- script end ---

      Test output:
      ============
      JPMenuTests0008: Failed. JPopupMenu modified with setPopupSize(Dimension d) does
       not work as expected.
      STATUS:Failed.tests: 1; failed: 1; first test case failure: JPMenuTests0008

      Specific Machine Info:
      ======================
      Hostname: linux-2
      OS: Windows 2000 pro

      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            kizune Alexander Zuev
            Reporter:
            alssunw Als Als (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: