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

Popup menu test fails on x86/Solaris 2.6 combination.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.1.8
    • 1.1.4, 1.1.7, 1.1.8, 1.2.0
    • client-libs
    • 1.1.8
    • x86, sparc
    • generic, solaris_2.5.1, solaris_2.6, solaris_7
    • Not verified


        allan.jacobs@Eng 1998-08-20

        JCK conformance problem. The JCK test
          api/java_awt/interactive/event/EventTests.html#EventTest0015
        fails on x86/Solaris systems. The problem does not occur on sparc/Solaris.

        To run the test outside of the (very hard to use) JavaTest harness:

        % setenv JCK <your-JCK. classes is a subdirectory>
        % setenv JDK <your-JDK. bin is a subdirectory>
        % setenv CLASSPATH ${JCK}/classes:${JCK}/javatest.jar
        % ${JDK}/bin/java javasoft.sqe.tests.api.java.awt.interactive.event.EventTests -TestCaseID EventTest0015

        On my machine:
        x86-sirius% uname -a
        SunOS x86-sirius 5.6 Generic i86pc i386 i86pc
        x86-sirius% ${JDK}/bin/java -fullversion
        java full version "JDK-1.2fcs-E"


        The test brings up two windows. The window entitled "I'm a Frame" has a red zone
        that should be right-clicked with your mouse. A popup saying
        "I'm a MenuItem in a PopupMenu" should appear. The mouse cursor should be dragged
        to this popup and let go. At this point, the "actionPerformed" checkbox in the
        PMenuEventsTest window will reflect the fact that the popup functioned properly.

        On a Solaris/x86, the text of the popup is garbled and the mouse does not work.
        Both of these problems should be fixed for this bug to be closed.




        allan.jacobs@Eng 1998-08-25

        The problem still occurs on the machine x86-solaris. I used the following script.
        The JDK has been updated to JDK-1.2fcs-F and the JCK has been updated to
        JCK-1.2beta4.

        #!/bin/ksh
        JDK=/net/mulder.eng/export/mulder3/jdk12x/intel/jdkFCS1.2
        JCK=/net/jde1.eng/export/jtech16/jck12b4
        export PATH=${JDK}/bin:/usr/dt/bin:/usr/bin:/bin:.:/usr/openwin/bin
        export LD_LIBRARY_PATH=/usr/dt/lib:/usr/openwin/lib
        export CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
        export DISPLAY=x86-sirius:0.0
        ${JDK}/bin/java -verify -Djava.compiler=NONE javasoft.sqe.tests.api.java.awt.interactive.event.EventTests -TestCaseID EventTest0015


        allan.jacobs@Eng 1998-08-25

        The test still fails with JDK-1.2fcs-G.

        Other information:
        (1) The print on the window in the Frame entitled "I'm a Frame" is garbled.
        (2) I have a 2-button mouse attached to the machine.
        (3) Other EventTests are failing with G that did not fail with F.
        (4) x86-sirius is a Dell Optiplex/GXPro with 2 CPUs.
        You now have complete source code, know my OS, know a little bit about my hardware,
        and know which JDK I was running. I've cut down the amount of source code by ridding
        it of the JCK test harness. Is there any other information that I can supply?

        I work in Menlo Park if you want to use x86-sirius.


        allan.jacobs@Eng 1998-10-02

        The test still fails with JDK1.2fcs-K. It turns out that three JCK tests
        are affected:
           api/java_awt/interactive/event/EventTests.html#EventTest0015
           api/java_awt/interactive/PMenuTests.html#PMenuTest0001
           api/java_awt/interactive/PMenuTests.html#PMenuTest0002

              xdengsunw Xianfa Deng (Inactive)
              ajacobssunw Allan Jacobs (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: