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

JCK1.5: api/java_awt/interactive/ComponentTests.html fails in linux

    XMLWordPrintable

Details

    • x86
    • linux

    Description

      Filed By : J2SE-SQA [###@###.###
      JDK : 1.5.0-beta3-b59
      JCK : JCK1.5, JCK1.4a
      Platform[s] : Fails On: RHAS3.0, cinnabar, quicksilver Passes On: Solsparc
      switch/Mode : -client
      JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto
      Failing Test [s] : api/java_awt/interactive/ComponentTests.html [ComponentTest002]

      Also fails with tiger-b18 (the oldest build available in /net/koori/onestop/jdk/1.5.0/promoted/all)

      Test source location:
      =====================
      /net/koori/onestop/jck/1.5/promoted/rc/b24/binaries/JCK-runtime-15/tests/api/java_awt/interactive/ComponentTests.java

      jtr file location:
      ==================
      file:/net/cady/export/dtf/unified/results/tiger/b59/jck/jck-jck_runtime-cinnabar_MOZ16-2-2004-07-22-17-40-36-0255/workDir/api/java_awt/interactive/ComponentTests_ComponentTests.jtr

       
      How to reproduce:
      ====================
      1. use root to "mkdir /tmp/temp2" and have promission set to 700 (root only)
      2. use non-root user to run the following script to start the test. (script linux.sh also attached in this bug)
      3. click "start test2" to start the test. a file dialog "Test 2" pop up.
      4. click File->open to pop up "Open File..." dialog.
      5. In Folders, select temp2/. Double this temp2/ a few times. It actually try to open /tmp/temp2.
      6. Click "OK".
      7. You'll see the test frame window shows :
         Open: /tmp/temp2/temp2/temp2/temp2/temp2/foo

      (Running with 1.4.2, 1.4.2_05, "Directory not exist" pops up. It cannot open file because dir not exist.
      Running with tiger, it shows "open: /tmp/temp2/temp2/temp2/temp2/temp2/foo")


      --------Script START---------------------
      #!/bin/sh
      #Paths in Java Software:
      #JDK="/net/koori/onestop/jdk/1.4.2/latest/binaries/linux-i586"
      #JDK="/net/koori/onestop/jdk/1.4.2_05/promoted/all/b04/binaries/linux-i586"
      JDK="/net/koori/onestop/jdk/1.5.0/promoted/all/b59/binaries/linux-i586"

      #JCK="/net/koori/onestop/jck/1.4a/archive/fcs/binaries/JCK-runtime-14a"
      JCK="/net/koori/onestop/jck/1.5/promoted/rc/b24/binaries/JCK-runtime-15"

      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
      TEST="javasoft.sqe.tests.api.java.awt.interactive.ComponentTests -TestCaseID ComponentTest0002"
      echo `cat $JCK/build.txt | grep JCK_VERSION` `cat $JCK/build.txt | grep JCK_BUILD`
      $JDK/bin/java -showversion -cp $CLASSPATH $TEST
      --------Script END----------------------

      Specific Machine Info:
      =====================
      Linux:
      Hostname: jiggle
      OS: RH AS 3.0

      Hostname: jtg-win95
      OS: cinnabar b13

      Hostname: fontana
      OS: quicksilver b10b (GA)

      ###@###.### 2004-07-28

      Attachments

        Issue Links

          Activity

            People

              dcherepanov Dmitry Cherepanov
              schien Suchen Chien (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: