JDK-6177400 : JCK14a-compiler: 2 lang tests fail, jdk1.5.0_01, -source 1.4 -target 1.4 , Win2003
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 5.0u1
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_2003
  • CPU: x86
  • Submitted: 2004-10-12
  • Updated: 2012-10-09
  • Resolved: 2004-10-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b10Fixed
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

Comments
EVALUATION This is actually two different bugs: 1. a regression caused by 4713248. 2. a regression caused by autoboxing. I have fixed the problems. ###@###.### 10/12/04 04:59 GMT
12-10-2004