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

REGRESSION: java/awt/Focus/FocusPolicyTest/FocusPolicyTest.java failed, Linux

    Details

    • Subcomponent:
    • Resolved In Build:
      b28
    • CPU:
      x86, itanium
    • OS:
      linux
    • Verification:
      Verified

      Description



      Name: aaR10208 Date: 10/07/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b22
      Testbase : RegTest-test
      Platform[s] : RedHat Linux 2.1 Adv. Server
      switch/Mode : general
      Falling test[s]: java/awt/Focus/FocusPolicyTest/FocusPolicyTest.java

      RegTest-test java/awt/Focus/FocusPolicyTest/FocusPolicyTest.java test fails on JDK1.5.0-b22, but passes with b21.

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/all/b22/ws/j2se/test/java/awt/Focus/FocusPolicyTest/FocusPolicyTest.java

      jtr file location:
      ==================
      /net/jtgb4u4c/export/sail15/results.2/tiger/b22/regtest/linux/rh_adv_serv_jcc-itanium-01/workDir/test/java/awt/Focus/FocusPolicyTest/FocusPolicyTest.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)

      --- script start ---
      #!/bin/sh
      #J_HOME=/net/koori/onestop/jdk/1.5.0/promoted/all/b21/
      #JDK=${J_HOME}/binaries/solaris-sparc
      J_HOME=/net/koori/onestop/jdk/1.5.0/promoted/all/b22/
      JDK=${J_HOME}/binaries/linux-i586
      TEST_BASE=${J_HOME}/ws/j2se/test

      TEST=FocusPolicyTest
      TESTSRC=${TEST_BASE}/java/awt/Focus/FocusPolicyTest

      cp $TESTSRC/$TEST.java .
      ${JDK}/bin/javac ${TEST}.java

      ${JDK}/bin/java -showversion ${TEST}
      --- script end ---


      Test output (jtr part):
      =======================
      ----------System.out:(0/0)----------
      ----------System.err:(15/1137)----------
      isXawt = true
      java.lang.RuntimeException: Error: stage 3: javax.swing.JApplet's policy is java.awt.DefaultFocusTraversalPolicy but not javax.swing.LayoutFocusTraversalPolicy
      at FocusPolicyTest.checkSwingPoliciesFor(FocusPolicyTest.java:109)
      at FocusPolicyTest.main(FocusPolicyTest.java:34)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
      at java.lang.Thread.run(Thread.java:549)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Error: stage 3: javax.swing.JApplet's policy is java.awt.DefaultFocusTraversalPolicy but not javax.swing.LayoutFocusTraversalPolicy
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Error: stage 3: javax.swing.JApplet's policy is java.awt.DefaultFocusTraversalPolicy but not javax.swing.LayoutFocusTraversalPolicy
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Error: stage 3: javax.swing.JApplet's policy is java.awt.DefaultFocusTraversalPolicy but not javax.swing.LayoutFocusTraversalPolicy


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Error: stage 3: javax.swing.JApplet's policy is java.awt.DefaultFocusTraversalPolicy but not javax.swing.LayoutFocusTraversalPolicy


      Specific machine info:
      ======================
      Hostname: JCC-ITANIUM-01
      OS: RedHat Linux 2.1 Adv. Server


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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                apikalev Andrey Pikalev
                Reporter:
                sundrsunw Sundr Sundr (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: