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

JCK14a-compiler: 2 lang tests fail, jdk1.5.0_01, -source 1.4 -target 1.4 , Win2003

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 5.0u1
    • Fix Version/s: 6
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b10
    • CPU:
      x86
    • OS:
      windows_2003
    • Verification:
      Verified

      Description

      Filed by : J2SE-SQA team (###@###.###)
      J2SE : 5.0_01 b03
      JCK : JCK1.4a-compiler
      Platform[s] : Windows 2003 Server
      switch/Mode : javac -source1.4 -target1.4 (java used: latest 1.4.2)
      JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto
      Failing Test [s] : Total 2
      # lang/CLSS/clss360/clss36001/clss36001.html : clss36001 - using of instance fields from enclosing class
      # lang/CONV/conv043/conv04301m1/conv04301m1.html : conv04301m1 - Assignment of char value to a Character variable.

      ISSUES: Both negative testcases compile on this test
      =====================
      Test source location:
      /net/jtgb4u4c.sfbay/export/sail16/JCK/jck14a/JCK-compiler-14a/tests/lang/CLSS/clss360/clss36001/
      /net/jtgb4u4c.sfbay/export/sail11/JCK/jck14a/JCK-compiler-14a/tests/lang/CONV/conv043/conv04301m1
      =====================
      jtr file location:
      The jtr files are under the following base dir
      /net/cady/export/dtf/unified/results/tiger_u1/b03/jck/jck-jck_compiler1.4.2-win2003/workDir/lang/
      =====================
      How to reproduce:
      --------Script START---------------------
      #!/bin/sh
      JDK="c:/jdk/b03/windows-i586/jdk1.5.0_01"
      JDKrt="c:/jdk1.4.2_06/windows-i586/jre/lib/rt.jar"
      #REF_JDK="c:/jdk1.4.2_06/windows-i586"

      #JCK="/net/jtgb4u4c/export/sail16/JCK/jck14a/JCK-compiler-14a"
      JCK="Z:/sail16/JCK/jck14a/JCK-compiler-14a"

      LOCAL="c:/jck/script/classes"
      CLASSPATH="$LOCAL;$JCK/classes;$JCK/lib/javatest.jar;"

      FILE1="$JCK/tests/lang/CLSS/clss360/clss36001/clss36001.java"
      FILE2="$JCK/tests/lang/CONV/conv043/conv04301m1/conv04301m1.java"

      # testCompile.java
      $JDK/bin/javac -source 1.4 -target 1.4 -d $LOCAL -bootclasspath $JDKrt $FILE1
      $JDK/bin/javac -source 1.4 -target 1.4 -d $LOCAL -bootclasspath $JDKrt $FILE2
      --------Script END----------------------

      Test output:
      =============
      Both tests compiled, expected error

      Specific Machine Info:
      =====================
      Host Name: caius
      OS: Windows 2003 Server
      ###@###.### 10/12/04 01:49 GMT

        Attachments

          Activity

            People

            • Assignee:
              ahe Peter Ahe
              Reporter:
              jsongsunw Joo Song (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: