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

createActionChangeListener missing in JToolBar, JPopupMenu, not working in JMenu

XMLWordPrintable

    • beta
    • generic, sparc
    • generic, solaris_2.5.1
    • Verified

      jeff.hsiao@eng 1999-06-21

      In order to reproduce this bug, please run the attached shell script.
      Please keep this file for future reference.

      Test cases can be found in:
      /net/tapas/export1/testexec/JCK-122a/tests/api/javax_swing/JToolBar/CtorTests.java
      /net/tapas/export1/testexec/JCK-122a/tests/api/javax_swing/JToolBar/protectedTests.java
      JDK version: Kestrel H
      JCK version: 1.2.2

      Tests:
      /net/tapas/export1/testexec/JCK-122a/tests/api/javax_swing/JToolBar/descriptions.html#Ctor
      /net/tapas/export1/testexec/JCK-122a/tests/api/javax_swing/JToolBar/descriptions.html#protected
      ---CtorTests jtr output ---

      #Test Results
      #Thu Jun 10 20:28:41 PDT 1999
      description=file:/net/tapas/export1/testexec/JCK-122a/tests/api/javax_swing/JToolBar/descriptions.html#Ctor
      testsuite=/net/tapas/export1/testexec/JCK-122a/tests
      executeArgs=-TestCaseID ALL
      execStatus=Failed. tests: 2; passed: 1; failed: 1; first test case failure: JToolBar2002
      end=Thu Jun 10 20:28:41 PDT 1999
      work=/export0/results/13h/h3julius122agreen/api/javax_swing/JToolBar
      executeClass=javasoft.sqe.tests.api.javax.swing.JToolBar.CtorTests
      status=Failed. tests: 2; passed: 1; failed: 1; first test case failure: JToolBar2002
      keywords=javax positive runtime swing
      start=Thu Jun 10 20:28:32 PDT 1999
      title=JToolBar constructor tests
      javatestVersion=JT_2.0_zn
      id=Ctor
      file=/net/tapas/export1/testexec/JCK-122a/tests/api/javax_swing/JToolBar/descriptions.html
      sections=testExecute testExecute
      environment=jck-runtime-solaris
      source=CtorTests.java

      test: api/javax_swing/JToolBar/descriptions.html#Ctor
      script: javasoft.sqe.javatest.lib.JCKScript -runtime
      Executing test class...
      command: javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=/export0/results/13h/h3julius122agreen/classes:/net/tapas/export1/testexec/JCK-122a/tests/../classes:/net/tapas/export1/testexec/JCK-122a/javatest.jar:/net/tapas/export0/jdk13h/solaris/lib/tools.jar:/net/tapas/export0/jdk13h/solaris/jre/lib/rt.jar:/net/tapas/export0/jdk13h/solaris/jre/lib/i18n.jar DISPLAY=julius:0.0 HOME=/home/jhsiao LD_LIBRARY_PATH=/net/tapas/export1/testexec/JCK-122a/tests/../lib:/net/tapas/export1/testexec/JCK-122a/tests/../lib_solaris: /net/tapas/export0/jdk13h/solaris/bin/java -green -Xfuture javasoft.sqe.tests.api.javax.swing.JToolBar.CtorTests -TestCaseID ALL
      ----------ref:testExecute(3/391)----------
      ====== JToolBar2001 ====== constructor JToolBar()
      ====== JToolBar2002 ====== constructor JToolBar(int)
      Object:javax.swing.JToolBar[,0,0,0x0,invalid,layout=javax.swing.BoxLayout,alignmentX=null,alignmentY=null,border=javax.swing.plaf.metal.MetalBorders$ToolBarBorder@3a852b90,flags=1376,maximumSize=,minimumSize=,preferredSize=,floatable=true,margin=,orientation=HORIZONTAL,paintBorder=true]
      ----------log:testExecute(3/167)----------
      JToolBar2001: Passed. OKAY
      JToolBar2002: Failed. Failed to create JToolBar object
      STATUS:Failed. tests: 2; passed: 1; failed: 1; first test case failure: JToolBar2002
      command result: Failed. tests: 2; passed: 1; failed: 1; first test case failure: JToolBar2002
      test result: Failed. tests: 2; passed: 1; failed: 1; first test case failure: JToolBar2002


      -- protestedTests jtr ouputput ----
      #Test Results
      #Thu Jun 10 20:28:51 PDT 1999
      description=file:/net/tapas/export1/testexec/JCK-122a/tests/api/javax_swing/JToolBar/descriptions.html#protected
      testsuite=/net/tapas/export1/testexec/JCK-122a/tests
      executeArgs=-TestCaseID ALL
      execStatus=Failed. tests: 2; passed: 1; failed: 1; first test case failure: JToolBar2025
      end=Thu Jun 10 20:28:51 PDT 1999
      work=/export0/results/13h/h3julius122agreen/api/javax_swing/JToolBar
      executeClass=javasoft.sqe.tests.api.javax.swing.JToolBar.protectedTests
      status=Failed. tests: 2; passed: 1; failed: 1; first test case failure: JToolBar2025
      keywords=javax positive runtime swing
      start=Thu Jun 10 20:28:41 PDT 1999
      title=JToolBar protected method and variable tests
      javatestVersion=JT_2.0_zn
      id=protected
      file=/net/tapas/export1/testexec/JCK-122a/tests/api/javax_swing/JToolBar/descriptions.html
      sections=testExecute testExecute
      environment=jck-runtime-solaris
      source=protectedTests.java

      test: api/javax_swing/JToolBar/descriptions.html#protected
      script: javasoft.sqe.javatest.lib.JCKScript -runtime
      Executing test class...
      command: javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=/export0/results/13h/h3julius122agreen/classes:/net/tapas/export1/testexec/JCK-122a/tests/../classes:/net/tapas/export1/testexec/JCK-122a/javatest.jar:/net/tapas/export0/jdk13h/solaris/lib/tools.jar:/net/tapas/export0/jdk13h/solaris/jre/lib/rt.jar:/net/tapas/export0/jdk13h/solaris/jre/lib/i18n.jar DISPLAY=julius:0.0 HOME=/home/jhsiao LD_LIBRARY_PATH=/net/tapas/export1/testexec/JCK-122a/tests/../lib:/net/tapas/export1/testexec/JCK-122a/tests/../lib_solaris: /net/tapas/export0/jdk13h/solaris/bin/java -green -Xfuture javasoft.sqe.tests.api.javax.swing.JToolBar.protectedTests -TestCaseID ALL
      ----------ref:testExecute(2/195)----------
      ====== JToolBar2024 ====== protected void addImpl(Component comp, Object constraints, int index)
      ====== JToolBar2025 ====== protected PropertyChangeListener createActionChangeListener(JButton b)
      ----------log:testExecute(10/1008)----------
      JToolBar2024: Passed. OKAY
      java.lang.NoSuchMethodError: javax.swing.JToolBar: method createActionChangeListener(Ljavax/swing/JButton;)Ljava/beans/PropertyChangeListener; not found
              at javasoft.sqe.tests.api.javax.swing.JToolBar.StubJToolBar.stubCreateActionChangeListener(protectedTests.java, Compiled Code)
              at javasoft.sqe.tests.api.javax.swing.JToolBar.protectedTests.JToolBar2025(protectedTests.java, Compiled Code)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java, Compiled Code)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java, Compiled Code)
              at javasoft.sqe.tests.api.javax.swing.JToolBar.protectedTests.main(protectedTests.java, Compiled Code)
      JToolBar2025: Failed. Test case throws exception: java.lang.NoSuchMethodError: javax.swing.JToolBar: method createActionChangeListener(Ljavax/swing/JButton;)Ljava/beans/PropertyChangeListener; not found
      STATUS:Failed. tests: 2; passed: 1; failed: 1; first test case failure: JToolBar2025
      command result: Failed. tests: 2; passed: 1; failed: 1; first test case failure: JToolBar2025
      test result: Failed. tests: 2; passed: 1; failed: 1; first test case failure: JToolBar2025

            gsaab Georges Saab
            jchsiao Jeff Hsiao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: