[jboss-as7-dev] Wildfly's build/lib.xml behaves unexpectedly with JDK8
Galder Zamarreño
galder at redhat.com
Fri Feb 7 09:27:11 EST 2014
Hi,
In JDK8, [1] causes issues, since the replace only happens the first time the character is found.
We use this lib.xml in Infinispan as well [2]. I’ve workaround it by doing this instead:
name = name.split(".").join("/");
This seems to work fine, but have not fully tested it.
Cheers,
[1] https://github.com/wildfly/wildfly/blob/master/build/lib.xml#L75
[2] https://issues.jboss.org/browse/ISPN-3974?focusedCommentId=12942643&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12942643
--
Galder Zamarreño
galder at redhat.com
twitter.com/galderz
Project Lead, Escalante
http://escalante.io
Engineer, Infinispan
http://infinispan.org
More information about the jboss-as7-dev
mailing list