-
Bug
-
Resolution: Fixed
-
P2
-
1.4.1
-
hopper
-
x86, sparc
-
generic, linux, windows_98, windows_2000
-
Verified
Name: icR10030 Date: 03/01/2002
JDK : jdk1.4.1-b03
JCK : JCK1.4-b17
Platform[s] : RedHat Linux 7.1, Windows 98
switch/Mode : -server -Xmixed, -xincgc -Xfuture
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test : api/signaturetest/SignatureTest.html#org.omg
api/signaturetest/StaticSigTest.html#org.omg
2 JCK1.4b-17 api/signaturetest tests fail due to the changes in java api of
JavaTM 2 Platform Std. Ed. v1.4.1 (build b03).
These tests verify the existence, correct modifiers, arguments, return type,
and throws clause of public and protected class methods.
There are missing and new fields in JDK1.4.1-b03.
That is why the tests fail.
Please reassign category/subcategory if the tests must be
updated to meet jdk changes.
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/signaturetest/*
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/hopper/b03/jck14/linux/redhat7.1_gnome_server_linux-13/workDir/api/signaturetest/SignatureTest_org.omg.jtr
/net/jtgb4u4c.eng/export/sail15/results/hopper/b03/jck14/linux/redhat7.1_gnome_server_linux-13/workDir/api/signaturetest/StaticSigTest_org.omg.jtr
How to reproduce:
====================
Run the following script under RedHat Linux 7.1
(probably, you need to change JCK and JAVA_HOME paths):
--------Script START---------------------
#!/bin/sh
JDK=/net/linux-15/export/home/java/jdk1.4.1/linux
JCK=/net/linux-15/export/home/java/jck1.4/JCK-runtime-14
$JDK/bin/java -server -Xmixed -Xfuture -cp $JCK/classes -Djava.security.policy=$JCK/lib/jck.policy -Djava.security.auth.policy=$JCK/lib/java.auth.policy -Djava.security.auth.login.config=$JCK/lib/java.login.config javasoft.sqe.tests.api.signaturetest.SignatureTest -static -Classpath $JDK/jre/lib/rt.jar:$JDK/jre/lib/sunrsasign.jar:$JDK/jre/lib/jsse.jar:$JDK/jre/lib/jce.jar:$JDK/jre/lib/i18n.jar:$JDK/jre/lib/charsets.jar -TestURL "file://$JCK/tests/api/signaturetest/StaticSigTest.html#org.omg" -FileName sig/jdk14.org.omg.sig -Package org.omg
---------Script END----------------------
Test output:
=============
SignatureTest report
Tested version: 1.4.1-beta
Missing Fields
--------------
org.omg.DynamicAny._DynAnyFactoryStub: field public static final java.lang.Class _opsClass
org.omg.DynamicAny._DynAnyStub: field public static final java.lang.Class _opsClass
org.omg.DynamicAny._DynArrayStub: field public static final java.lang.Class _opsClass
org.omg.DynamicAny._DynEnumStub: field public static final java.lang.Class _opsClass
org.omg.DynamicAny._DynFixedStub: field public static final java.lang.Class _opsClass
org.omg.DynamicAny._DynSequenceStub: field public static final java.lang.Class _opsClass
org.omg.DynamicAny._DynStructStub: field public static final java.lang.Class _opsClass
org.omg.DynamicAny._DynUnionStub: field public static final java.lang.Class _opsClass
org.omg.DynamicAny._DynValueStub: field public static final java.lang.Class _opsClass
org.omg.PortableServer._ServantActivatorStub: field public static final java.lang.Class _opsClass
org.omg.PortableServer._ServantLocatorStub: field public static final java.lang.Class _opsClass
Added Fields
------------
org.omg.CosNaming._BindingIteratorStub: field public static final java.lang.Class $opsClass
org.omg.CosNaming._NamingContextExtStub:field public static final java.lang.Class $opsClass
org.omg.CosNaming._NamingContextStub: field public static final java.lang.Class $opsClass
org.omg.DynamicAny._DynAnyFactoryStub: field public static final java.lang.Class $opsClass
org.omg.DynamicAny._DynAnyStub: field public static final java.lang.Class $opsClass
org.omg.DynamicAny._DynArrayStub: field public static final java.lang.Class $opsClass
org.omg.DynamicAny._DynEnumStub: field public static final java.lang.Class $opsClass
org.omg.DynamicAny._DynFixedStub: field public static final java.lang.Class $opsClass
org.omg.DynamicAny._DynSequenceStub: field public static final java.lang.Class $opsClass
org.omg.DynamicAny._DynStructStub: field public static final java.lang.Class $opsClass
org.omg.DynamicAny._DynUnionStub: field public static final java.lang.Class $opsClass
org.omg.DynamicAny._DynValueStub: field public static final java.lang.Class $opsClass
org.omg.PortableServer._ServantActivatorStub: field public static final java.lang.Class $opsClass
org.omg.PortableServer._ServantLocatorStub: field public static final java.lang.Class $opsClass
STATUS:Failed.25 errors
result: Failed. 25 errors
Specific Machine Info:
=====================
Hostname: Linux-13
OS: RedHat Linux 7.1
Hostname: Linux-17
OS: Windows 98
======================================================================
********************************************************************************
###@###.### 2002-04-05
Fix verified OK by code inspection:
- with build: j2sdk-1_4_1-beta-bin-b07-solaris-sparc-02_apr_2002
- verified files: all org/omg/DynamicAny/_Dyn*.java
********************************************************************************
********************************************************************************
###@###.### 2002-05-31
Fix Verified OK with
Build:
j2sdk-1_4_1-beta-bin-b13-linux-i586-23_may_2002
Test:
script provided with this bug
#!/bin/sh
JDK=/java/re/jdk/1.4.1/latest/binaries/linux-i586
JCK=/java/re/jck/1.4/archive/fcs/binaries/JCK-runtime-14
$JDK/bin/java -server -Xmixed -Xfuture -cp $JCK/classes -Djava.security.policy=$JCK/lib/jck.policy -Djava.security.auth.policy=$JCK/lib/java.auth.policy -Djava.security.auth.login.config=$JCK/lib/java.login.config javasoft.sqe.tests.api.signaturetest.SignatureTest -static -Classpath $JDK/jre/lib/rt.jar:$JDK/jre/lib/sunrsasign.jar:$JDK/jre/lib/
jsse.jar:$JDK/jre/lib/jce.jar:$JDK/jre/lib/i18n.jar:$JDK/jre/lib/charsets.jar -TestURL "file://$JCK/tests/api/signaturetest/StaticSigTest.html#org.omg
" -FileName sig/jdk14.org.omg.sig -Package org.omg
Output:
SignatureTest report
Tested version: 1.4.1-beta
STATUS:Passed.
********************************************************************************