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

JComponent does not notify listener on move ancestor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: client-libs

      Description

      Testsuite: JCK 6.0 b006
      Test: api/javax_swing/JComponent/index.html#addAncestor2[JComponent2065]
      Failed: mustang b51, b52 - SunOS stt-05 5.8 Generic_117351-24 i86pc i386 i86pc
                  mustang b51, b52 - SunOS stt-26 5.9 Generic_117172-07 i86pc i386 i86pc
      Passed: mustang b50 - SunOS stt-05 5.8 Generic_117351-24 i86pc i386 i86pc,
                                SunOS stt-26 5.9 Generic_117172-07 i86pc i386 i86pc
                  mustang b50, b51, b52 - Windows XP SP2
      How to reproduce:
        a) With JCK :
      TESTSUITE=/net/jsqalab/export/testsuites/JCK/jck6.0/b06/JCK-runtime-60
      DISPLAY=":0"
      export DISPLAY

      PRODUCT="/java/re/jdk/6.0/promoted/ea/b51/binaries/solaris-i586/bin/java"
      $PRODUCT -Xshare:off -Xfuture -classpath $TESTSUITE/classes -Djava.security.policy=$TESTSUITE/lib/jck.policy javasoft.sqe.tests.api.javax.swing.JComponent.addAncestor2Tests -TestCaseID ALL
       b) With standalone test:
              use addAncestor2Tests.java from attach ( No JCK is needed )

      Note: this failure is NOT 100% reproducable ( possible timing issues )
            so run it several times if you can't reproduce it on a first try.

      Description: JComponent does not notify listener on move ancestor

      Test output :
      ----------out1:(2/147)----------
      JComponent2065: Failed. Does not notify listener on move ancestor
      STATUS:Failed.test cases: 1; all failed; first test case failure: JComponent2065
      ----------out2:(1/88)----------
      ====== JComponent2065 ====== public void addAncestorListener(AncestorListener listener)
      result: Failed. test cases: 1; all failed; first test case failure: JComponent2065


      test result: Failed. test cases: 1; all failed; first test case failure: JComponent2065

      Suggestions:
      May be is's the same issue as in test
        api/java_awt/Event/FrmEventTests.html#FrmEventTest0008[FrmEventTest0008] failure,
        see bug 6323293.
      have seen the same failure on jdk6.0 b51 + jck6.0 b08 in plugin test mode on Linux AS 3.1

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stayer Kirill Kirichenko (Inactive)
              Reporter:
              dgubkin Dmitriy Gubkin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: