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

Gustavo Fernandes (JIRA) issues at jboss.org
Sat Sep 30 04:30:00 EDT 2017


    [ https://issues.jboss.org/browse/ISPN-8359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13470387#comment-13470387 ] 

Gustavo Fernandes commented on ISPN-8359:
-----------------------------------------

Merged into master, leaving it open until back porting to 9.1.x

> 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