Hi I had similar problems and have already filed the bugs - Bug Id: 9006487 - Bug Id: 9007101
But under http://bugs.sun.com they are not visible for me if I search for them with their ids. I investigated a little bit the problems. 1) when the properties are created a given order in the methods returned by Class.getMethods() is required. But the documentation of this method says that the returned method array is not ordered in any way. 2) whenever the garbage collector has removed the method references in the property descriptor and they have been redetermined, the algorithm is different to the one which creates the properties. When the properties are created, the last getter method following the naming conventions of a property is the one which is chosen from the returned methods of Class.getMethods(). In case only the property method have to be reassigned to the property descriptor, the first getter is chosen. This behavior you can reproduce with the attached class. Regards Reto -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von sergey malenkov Gesendet: Freitag, 1. November 2013 08:26 An: Makhmutov Alexey Cc: [email protected] Betreff: Re: <Beans Dev> Resolving type of overridden properties Hi Alexey, I'll try to fix it in 8 and to port it into 7u then. https://bugs.openjdk.java.net/browse/JDK-8027648 Regards, SAM On 31.10.2013 15:21, Makhmutov Alexey wrote: > Hi Sergey, > >> Could you please file a bug? >> I'll try to fix it. > Ok, thank you! Here is the bug number: 9007922. > > Thanks, > Alexey >
