[infinispan-issues] [JBoss JIRA] (ISPN-8530) Default value of "merge-policy" xsd attribute has an unstable name like org.infinispan.conflict.MergePolicies$$Lambda$72/520956294

Adrian Nistor (JIRA) issues at jboss.org
Mon Nov 13 12:00:01 EST 2017


     [ https://issues.jboss.org/browse/ISPN-8530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Nistor updated ISPN-8530:
--------------------------------
    Status: Open  (was: New)


> Default value of "merge-policy" xsd attribute has an unstable name like org.infinispan.conflict.MergePolicies$$Lambda$72/520956294
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-8530
>                 URL: https://issues.jboss.org/browse/ISPN-8530
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 9.1.0.Final
>            Reporter: Adrian Nistor
>            Assignee: Ryan Emerson
>             Fix For: 9.2.0.Final
>
>
> A different lambda name gets generated during each build.
> So an xsd created and deployed to http://docs.jboss.org/infinispan/schemas/ becomes out of sync after next build. We can fix that by redeploying the schema but we cannot assume users will always re-fetch it.
> Using static inner classes (non-anonymous) would be preferable in this case even though the lambda code looks nicer. This solution maintains backward compat with 9.1 too.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list