Russell,
This patch will get past the problem that you had yesterday with the RoundTrip test
case under
JDK14.
Thanks,
dims
--- [EMAIL PROTECTED] wrote:
> dims 2002/06/05 08:47:19
>
> Modified: java build.xml
> java/src/org/apache/axis/utils BeanUtils.java
> Log:
> - Added JVM information in build output
> - suppress JDK1.4 Exception's getStackTrace/setStackTrace
>
> NOTE:
> JDK1.4 all-tests now failes in test.wsdl.multithread.MultithreadTestCase
>
> Revision Changes Path
> 1.142 +1 -0 xml-axis/java/build.xml
>
> Index: build.xml
> ===================================================================
> RCS file: /home/cvs/xml-axis/java/build.xml,v
> retrieving revision 1.141
> retrieving revision 1.142
> diff -u -r1.141 -r1.142
> --- build.xml 4 Jun 2002 15:44:19 -0000 1.141
> +++ build.xml 5 Jun 2002 15:47:19 -0000 1.142
> @@ -210,6 +210,7 @@
> <echo
>message="-----------------------------------------------------------------"/>
> <echo message="Building with ${ant.version}"/>
> <echo message="using build file ${ant.file}"/>
> + <echo message="Java ${java.version} located at ${java.home} "/>
> <echo
>message="-----------------------------------------------------------------"/>
>
> <echo message="--- Flags (Note: If the {property name} is displayed, "/>
>
>
>
> 1.7 +11 -3 xml-axis/java/src/org/apache/axis/utils/BeanUtils.java
>
> Index: BeanUtils.java
> ===================================================================
> RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/utils/BeanUtils.java,v
> retrieving revision 1.6
> retrieving revision 1.7
> diff -u -r1.6 -r1.7
> --- BeanUtils.java 25 May 2002 00:03:16 -0000 1.6
> +++ BeanUtils.java 5 Jun 2002 15:47:19 -0000 1.7
> @@ -96,9 +96,17 @@
> PropertyDescriptor[] result = null;
> try {
> // privileged code goes here
> - result = Introspector.
> - getBeanInfo(secJavaType).
> - getPropertyDescriptors();
> + Class superClass = secJavaType.getSuperclass();
> + if(superClass == Exception.class) {
> + result = Introspector.
> + getBeanInfo(secJavaType,Exception.class).
> + getPropertyDescriptors();
> + } else {
> + // privileged code goes here
> + result = Introspector.
> + getBeanInfo(secJavaType).
> + getPropertyDescriptors();
> + }
> } catch (java.beans.IntrospectionException Iie) {
> }
> return result;
>
>
>
=====
Davanum Srinivas - http://xml.apache.org/~dims/
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com