<Beans Dev> [9] Review Request: 8165263 Remove code in MetaData that hacks into private fields of Collections implementation classes

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Thu Sep 29 20:42:11 UTC 2016


The fix looks good to me.

Thanks,
Alexandr.

On 29/09/16 20:48, Sergey Bylokhov wrote:
> Hello.
>
> Please review the fix for jdk9.
>
> Some of JavaBeans persistence delegates tries to access the private 
> data in the java.base module. This functionality does not work on the 
> latest jigsaw build. So such delegates should be removed. The possible 
> solution for applications is to provide this delegates ourself. For 
> example CheckedList_PersistenceDelegate tries to access the "type" 
> which was passed to the constructor of CheckedList. So the user who 
> create this CheckedList should provide delagate which will know what 
> "type" should be used.
>
> A separate bug was filed [1] to check is it possible to provide this 
> via JavaBeans or not. The fix will be pushed to the client ws.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8165263
> Webrev can be found at: 
> http://cr.openjdk.java.net/~serb/8165263/webrev.00
>
> [1] https://bugs.openjdk.java.net/browse/JDK-8166855
>
>



More information about the beans-dev mailing list