You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Sam Ruby <ru...@apache.org> on 2003/01/26 13:20:09 UTC

Possible ant regression?

Fails today with a class cast exception:

http://cvs.apache.org/builds/gump/2003-01-26/mx4j.html

Yet it worked yesterday:

http://cvs.apache.org/builds/gump/2003-01-25/mx4j.html

And there were no changes to mx4j:

http://cvs.apache.org/builds/gump/2003-01-26/cvs_mx4j.html

- Sam Ruby


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Possible ant regression?

Posted by Sam Ruby <ru...@apache.org>.
Conor MacNeill wrote:
> 
> I've changed the AntClassLoader2 code to use a JarEntry now. Can you 
> rerun and let me know if that fixes the MX4J build

BUILD SUCCESSFUL.

For xml-rpc too.

Thanks!

- Sam Ruby



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Possible ant regression?

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
Sam Ruby wrote:
> Fails today with a class cast exception:
> 

http://cvs.apache.org/builds/gump/2003-01-26/xml-rpc.html

probably has more useful information. It appears that even though 
JarFile.getInputStream is documented to take a ZipEntry, internally there 
is, under some circumstances, a cast to a JarEntry :-(

I've changed the AntClassLoader2 code to use a JarEntry now. Can you rerun 
and let me know if that fixes the MX4J build

Thanks
Conor



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>