Bug 1001

Summary: core unit test fails for jdk1.4.1_03 and jdk1.4.2beta on windows
Product: Toolkit Internals Reporter: Michelle Wang <mwang@mcs.anl.gov>
Component: Tooling ContributionAssignee: Amy Hieter <afhieter@us.ibm.com>
Status: RESOLVED FIXED    
Severity: normal CC: ogsa-bugs@globus.org, ramyan@us.ibm.com
Priority: P2    
Version: 3.0beta   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   

Description From 2003-06-16 11:48:24
When I run core unit test for jdk1.4.1_03 and jdk1.4.2beta on windows, it 
fails. 

After running "ant testAll", I got this from test-reports/TEST-
org.globus.ogsa.tools.wsdl.test.PackageTests.xml file:

  <testcase name="testJava2FlattenedWSDL" time="2.393">
    <failure 
type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError
        at 
org.globus.ogsa.tools.wsdl.test.TestJava2FlattenedWSDL.testJava2FlattenedWSDL
(TestJava2FlattenedWSDL.java:185)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
</failure>

Michelle
------- Comment #1 From 2003-06-20 11:46:55 -------
we tested with Windows XP and sun jdk1.4.1_03 with no problems. Looking for
Windows 2000 box to try it out on.

-Amy
------- Comment #2 From 2003-06-25 16:06:02 -------
We have tested this on a Windows 2000 machine with jdk1.4.1_03 and 
jdk1.4.2beta.

The problem lies in com.ibm.wsdl.util.StringUtils.getURL, which is part of 
wsdl4j.jar.  If the version in the GT3 distribution is replaced with the 
latest release (v1.4) from developerWorks, there are no compatibility issues 
with jdk1.4.1_03 or jdk1.4.2beta.
------- Comment #3 From 2003-06-25 20:03:49 -------
interesting, we were using a 2 weeks newer version from their CVS so they must 
have broken something right after the release. I have downgraded to the stable 
1.4 release and if we don't detect any errors with it over the next couple of 
days that's the version we will ship 3.0 with. Thanks for narrowing it down for 
us.