I tried to reproduce the bug 9007101 with JDK8 and did not succeed so for me it seems the problem has been solved.
Unfortunately I cannot access the URL https://bugs.openjdk.java.net/browse/JDK-7172865, I am always asked to enter my OpenJDK credentials which I don’t have. I also need a fix of this bug in JDK7 because otherwise I have no other chance than breaking the license and prepending my own fix to the boot class path -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von sergey malenkov Gesendet: Freitag, 8. November 2013 12:37 An: [email protected] Betreff: Re: <Beans Dev> Resolving type of overridden properties 9006487 looks like a duplicate of 9007101, which is duplicate of the following issue: https://bugs.openjdk.java.net/browse/JDK-7172854 It is fixed in JDK 8 by the following fix: https://bugs.openjdk.java.net/browse/JDK-7172865 If you need to backport the fix into JDK 7, you have to take these recommendations: http://mail.openjdk.java.net/pipermail/jdk7u-dev/2013-October/007834.html Thanks, SAM On 05.11.2013 13:35, Urfer Reto wrote: > Hi > > I had similar problems and have already filed the bugs > - Bug Id: 9006487 > - Bug Id: 9007101 > > But underhttp://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 >>
