Re: Question on binary compatibility regarding default methods

2014-03-19 Thread Krystal Mok
Hi Rémi, Great! Thanks a lot for your answer. That's what I'm looking for. I do remember that at one point there was a piece of code in the VM that injected bridge methods, but I didn't follow the development of this area later, so I thought the VM was still doing that, but it isn't. So I was a b

Re: Question on binary compatibility regarding default methods

2014-03-19 Thread Remi Forax
On 03/19/2014 12:36 AM, Krystal Mok wrote: Hi all, I'm curious about a corner case of binary compatibility with regard to default methods and separate compilation (the source of many evils...). The example is run with JDK 8 build 132. Description: The starting point is that I've got an interfa

Re: Question on binary compatibility regarding default methods

2014-03-19 Thread Jin Mingjian
Hi, Kris, It seemed a synthetic method was added when the "famous" Java generics joining. You may need to consult experts in lambda-...@openjdk.java.net:) Jin On Wed, Mar 19, 2014 at 7:36 AM, Krystal Mok wrote: > Hi all, > > I'm curious about a corner case of binary compatibility with regard

Question on binary compatibility regarding default methods

2014-03-18 Thread Krystal Mok
Hi all, I'm curious about a corner case of binary compatibility with regard to default methods and separate compilation (the source of many evils...). The example is run with JDK 8 build 132. Description: The starting point is that I've got an interface and an implementation class: public inter