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

Two JCK1.4a-runtime-api interactive tests failed

    Details

    • Subcomponent:
    • Resolved In Build:
      b12
    • CPU:
      generic, x86
    • OS:
      linux, solaris_2.6, solaris_8, windows_98
    • Verification:
      Verified

      Description



      Name: iaR10016 Date: 11/06/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b03
                       (the tests pass with JDK1.4.0, JDK1.4.1)
      JCK : JCK1.4a-runtime
      Platform[s] : Windows 98
      switch/Mode : plugin
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]:
              api/javax_swing/interactive/JOptionPaneTests.html#JOptionPane
              api/javax_swing/interactive/JInternalFrameTests.html#JInternalFrame

      Two JCK1.4a-runtime tests fail on JDK1.4.2-b03.

      The following test example demonstrates the bug:

      --------- test.java ---------
      import javax.swing.*;
      import java.awt.*;

      public class test extends JFrame {
          public test() {
              super("JInternalFrame test");
              JDesktopPane dpane = new JDesktopPane();
              JInternalFrame internalFrame = new JInternalFrame("JInternalFrame");
              internalFrame.setBounds(20,20,100,150);
              internalFrame.setVisible(true);
              dpane.add(internalFrame);
              getContentPane().add( dpane, BorderLayout.CENTER );
          }

          public static void main(String[] args) {
              JFrame frame = new test();
              frame.setSize(new Dimension(400,300));
              frame.setVisible(true);
          }
      }
      -----------------------------

      Please, compile and run this example with JDK1.4.2.
      Move JInternalFrame component down as far as possible.
      You can not move the internal frame up after this action.

      Please, note that the test works fine with JDK1.4.0, JDK1.4.1.

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4a/JCK-runtime-14a/tests/api/javax_swing/interactive/JInternalFrameTests.java
      /net/jdk/export/disk8/local.java/jck1.4a/JCK-runtime-14a/tests/api/javax_swing/interactive/JOptionPaneTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/mantis/b03/jck14a/win32/win98_plugin_ie6.0linux-17/javax_swing/interactive/JOptionPaneTests_JOptionPane.jtr
      /net/jtgb4u4c.eng/export/sail15/results/mantis/b03/jck14a/win32/win98_plugin_ie6.0linux-17/javax_swing/interactive/JInternalFrameTests_JInternalFrame.jtr

      How to reproduce:
      =================
      Run the following script (probably, you may need to change JCK and JDK variables):
      --- script start ---
      #!/bin/bash
      JCK="h:/java/jck1.4a/JCK-runtime-14a"
      JDK="h:/java/jdk1.4.2/win32"
      CLASSPATH="$JCK/classes;$JCK/javatest.jar"
      $JDK/bin/java swing.interactive.JInternalFrame.JInternalFrameTests -TestCaseID JInternalFrameTest0001
      --- script end ---

      Move JInternalFrame down as far as possible and then try to move it up.

      Specific machine info:
      ======================
      Hostname: linux-17
      OS: Windows 98

      Hostname: linux-19
      OS: RedHat Linux 7.3

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

      Name: iaR10016 Date: 12/16/2002


      JCK1.4a interactive test api/javax_swing/interactive/JLayeredPaneTests.html#JLayeredPane
      [JLayeredPaneTest0001, JLayeredPaneTest0002, JLayeredPaneTest0003]
      fails with the same way.

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joutwatesunw Joshua Outwater (Inactive)
                Reporter:
                irasunw Ira Ira (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: