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

36 regression shell tests do not recognize Windows ME

XMLWordPrintable

    • b11
    • x86
    • windows
    • Verified



      Name: asR10013 Date: 11/26/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b08
      Testbase : RegTest-test
      Platform[s] : Windows ME
      Falling test[s]:
              tools/javac/ClassFileModifiers/ClassModifiers.java
              tools/javac/ClassFileModifiers/MemberModifiers.java
              tools/javac/CyclicInheritance.java
              tools/javac/ExtendArray.java
              tools/javac/FloatingPointChanges/BadConstructorModifiers.java
              tools/javac/depDocComment/DeprecatedDocComment.java
              tools/javac/depDocComment/DeprecatedNoWarn.java
              tools/javac/fatalErrors/NoJavaLang.java
              tools/javac/ClassPathTest/ClassPathTest.sh
              tools/javac/ExtDirs/ExtDirs.sh
              tools/javac/ExtendsAccess/ExtendsAccess.java
              tools/javac/InnerNamedConstant_2.java
              tools/javac/InterfaceMemberClassModifiers.java
              tools/javac/LocalClasses_2.java
              tools/javac/MissingInclude.java
              tools/javac/NameCollision.java
              tools/javac/NestedInnerClassNames.java
              tools/javac/NonStaticFieldExpr1.java
              tools/javac/NonStaticFieldExpr2.java
              tools/javac/NonStaticFieldExpr3.java
              tools/javac/OverridePosition.java
              tools/javac/ProtectedInnerClass/ProtectedInnerClass.sh
              tools/javac/QualifiedAccess/QualifiedAccess_1.java
              tools/javac/QualifiedAccess/QualifiedAccess_2.java
              tools/javac/QualifiedAccess/QualifiedAccess_3.java
              tools/javac/SynchronizedClass.java
              tools/javac/constDebug/ConstDebug.java
              tools/javac/missingSuperRecovery/MissingSuperRecovery.java
              tools/javac/newlines/Newlines.sh
              tools/javac/protectedAccess/ProtectedMemberAccess2.java
              tools/javac/protectedAccess/ProtectedMemberAccess3.java
              tools/javac/protectedAccess/ProtectedMemberAccess4.java
              tools/javac/depDocComment/SuppressDeprecation.java
              tools/javac/innerClassFile/Driver.java
              tools/javac/miranda/T4666866.java
              tools/javac/unicode/UnicodeNewline.java

      36 RegTest-test tests do not recognize Windows ME as a valid system and fail.

      Test source location:
      =====================
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/ClassFileModifiers/ClassModifiers.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/ClassFileModifiers/MemberModifiers.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/CyclicInheritance.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/ExtendArray.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/FloatingPointChanges/BadConstructorModifiers.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/depDocComment/DeprecatedDocComment.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/depDocComment/DeprecatedNoWarn.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/fatalErrors/NoJavaLang.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/ClassPathTest/ClassPathTest.sh
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/ExtDirs/ExtDirs.sh
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/ExtendsAccess/ExtendsAccess.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/InnerNamedConstant_2.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/InterfaceMemberClassModifiers.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/LocalClasses_2.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/MissingInclude.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/NameCollision.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/NestedInnerClassNames.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/NonStaticFieldExpr1.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/NonStaticFieldExpr2.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/NonStaticFieldExpr3.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/OverridePosition.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/ProtectedInnerClass/ProtectedInnerClass.sh
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/QualifiedAccess/QualifiedAccess_1.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/QualifiedAccess/QualifiedAccess_2.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/QualifiedAccess/QualifiedAccess_3.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/SynchronizedClass.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/constDebug/ConstDebug.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/missingSuperRecovery/MissingSuperRecovery.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/newlines/Newlines.sh
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/protectedAccess/ProtectedMemberAccess2.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/protectedAccess/ProtectedMemberAccess3.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/protectedAccess/ProtectedMemberAccess4.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/depDocComment/SuppressDeprecation.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/innerClassFile/Driver.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/miranda/T4666866.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/tools/javac/unicode/UnicodeNewline.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/ClassFileModifiers/ClassModifiers.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/ClassFileModifiers/MemberModifiers.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/CyclicInheritance.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/ExtendArray.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/FloatingPointChanges/BadConstructorModifiers.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/depDocComment/DeprecatedDocComment.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/depDocComment/DeprecatedNoWarn.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/fatalErrors/NoJavaLang.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/ClassPathTest/ClassPathTest.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/ExtDirs/ExtDirs.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/ExtendsAccess/ExtendsAccess.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/InnerNamedConstant_2.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/InterfaceMemberClassModifiers.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/LocalClasses_2.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/MissingInclude.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/NameCollision.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/NestedInnerClassNames.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/NonStaticFieldExpr1.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/NonStaticFieldExpr2.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/NonStaticFieldExpr3.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/OverridePosition.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/ProtectedInnerClass/ProtectedInnerClass.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/QualifiedAccess/QualifiedAccess_1.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/QualifiedAccess/QualifiedAccess_2.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/QualifiedAccess/QualifiedAccess_3.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/SynchronizedClass.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/constDebug/ConstDebug.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/missingSuperRecovery/MissingSuperRecovery.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/newlines/Newlines.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/protectedAccess/ProtectedMemberAccess2.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/protectedAccess/ProtectedMemberAccess3.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/protectedAccess/ProtectedMemberAccess4.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/workDir/test/tools/javac/depDocComment/SuppressDeprecation.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/tools/javac/innerClassFile/Driver.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/tools/javac/miranda/T4666866.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/regtest/win32/winme_-client_linux-18/tools/javac/unicode/UnicodeNewline.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)
       
      --- script start ---
      #!/bin/sh

      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir
      JT_HOME="h:/java/jct"
      JAVA_HOME="h:/java/jdk1.4.2/win32"
      TEST_BASE_PATH="h:/java/regtest/test"

      TESTWITH=$JAVA_HOME
      TESTJAVA=$JAVA_HOME

      CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar"

      export JAVA_HOME
      export JT_HOME
      export TESTWITH
      export CLASSPATH

      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1

      #rm $WORK_DIR/jtData/ResultCache.jtw 2>&1

      cd $WORK_DIR/scratch

      $JAVA_HOME/bin/java -cp $CLASSPATH -client -Xmixed -DenvVars=TESTJAVAHOME=$JAVA_HOME,DISPLAY=:0,HOME=$HOME/.regtest,WinDir=$windir,PATH=C:/mksnt,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-18" -Dprogram=jtreg com.sun.javatest.regtest.Main -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/tools/javac/ClassFileModifiers/ClassModifiers.java"

      --- script end ---

      Script output:
      ==============
      JavaTest HTTPd - Success, active on port 1903
      JavaTest HTTPd server available at http://129.144.234.228:1903/
      runner starting test: tools\javac\ClassFileModifiers\ClassModifiers.java
      runner finished test: tools\javac\ClassFileModifiers\ClassModifiers.java
      Failed. Execution failed: exit code 1
      Test results: failed: 1
      Report written to H:\store\users\vsh\regtest\scripts\reportDir\report.html
      Results written to H:\store\users\vsh\regtest\scripts\workDir\test
      Error: Some tests failed or other problems occurred.

      Test output (jtr part):
      =======================
      TESTSRC=k:
      egtest est ools\\javac\\ClassFileModifiers
      TESTJAVA=k:/jdk1.4.2/win32
      TESTCLASSES=C:
      esults_full\\mantis\u000808
      egtest\\win32\\winme_linux-18\\workDir estCLASSPATH=
      Unrecognized system!

      Specific machine info:
      ======================
      Hostname: linux-18
      OS: Windows ME


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

            iris Iris Clark
            alssunw Als Als (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: