Plus the whole multi-version jars feature is super handy for a library like Log4j which can add support for each new Java version while maintaining BC with older Java releases without having to resort to reflection hacks and other dynamic loading.
On 3 December 2017 at 07:00, Remko Popma <[email protected]> wrote: > From Java 9, interfaces can have private methods that can be called from > interface default methods. This is to reduce duplicate code in default > method implementations. > > > > > On Dec 3, 2017, at 20:44, Mikael Ståldal <[email protected]> wrote: > > > >> On 2017-12-03 00:24, Matt Sicker wrote: > >> It's too bad that Java 8 and 9 added language features > >> that would have been immensely useful for maintaining a backwards > >> compatible API (default and private methods on interfaces), > > > > Did Java 9 add anything more than Java 8 for this? > -- Matt Sicker <[email protected]>
