[infinispan-dev] [wildfly-dev] Wildfly's build/lib.xml behaves unexpectedly with JDK8

Tomaž Cerar tomaz.cerar at gmail.com
Mon Feb 10 04:59:27 EST 2014


Can you send PR with a fix?


On Mon, Feb 10, 2014 at 9:34 AM, Galder Zamarreño <galder at redhat.com> wrote:

> Actually, split/join does not work with JDK7. The following code seems to
> work with both:
>
> name = name.split(".").join("/");
> if (name) {
>   self.log("Use JDK8 method to build module names");
> } else {
>   name = attributes.get("name");
>   name = name.replace(".", "/");
>   self.log("Use JDK7 method to build module names");
> }
>
> Cheers,
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20140210/f9bdbbe7/attachment-0001.html 


More information about the infinispan-dev mailing list