[infinispan-issues] [JBoss JIRA] (ISPN-8359) Add default methods for various Serializable methods on Streams

William Burns (JIRA) issues at jboss.org
Thu Sep 28 17:03:00 EDT 2017


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

William Burns updated ISPN-8359:
--------------------------------
    Fix Version/s: 9.1.2.Final
                   9.2.0.Alpha1


> Add default methods for various Serializable methods on Streams
> ---------------------------------------------------------------
>
>                 Key: ISPN-8359
>                 URL: https://issues.jboss.org/browse/ISPN-8359
>             Project: Infinispan
>          Issue Type: Task
>            Reporter: William Burns
>            Assignee: William Burns
>             Fix For: 9.1.2.Final, 9.2.0.Alpha1
>
>
> Java 8 added default methods. At the time I didn't think to add them when I introduced Serializable variants for various methods. But as the hierarchy becomes larger, this produces a lot of code bloat. Thus we should remove all of the impl methods and replace them all with default variant on the interface.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list