axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Veithen <andreas.veit...@gmail.com>
Subject Re: Bug in JAXWSDeployer.java (Axis2 1.5.4)
Date Wed, 18 May 2011 19:27:14 GMT
This has already been fixed and is scheduled for inclusion in Axis2 1.6.0:

https://issues.apache.org/jira/browse/AXIS2-4326

Andreas

On Wed, May 18, 2011 at 20:27, Ferdinand Niedermann
<ferdinand.niedermann@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello
>
> I believe I may have found a bug in Axis2.
> In JAXWSDeployer.java in the method protected ArrayList
> getListOfClasses(DeploymentFileData deploymentFileData):
>
> The line
>
> name = name.replaceAll(".class", "");
>
> needs to be replaced with
>
> name = name.replaceAll("\\.class", "");
>
> because the first argument of replaceAll is a Regex. Otherwise
> "/classes/Foo.class" in name would be removed as well, resulting in
> "es.Foo" which is obviously wrong.
>
> I don't know whether this is already fixed in the trunk.
>
> Ferdinand Niedermann
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk3UD58ACgkQ8t2WdJZzhZ+XyQCfXKtLOAj1Q/CaN9WyTyaPfISC
> ilcAnA4kiLYv28qbomS/0jEidG+xBOI2
> =4AVc
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message