<Beans Dev> [9] Review Request: 8076312 The behavior of the javax.swing.SwingContainer.delegate contradicts spec

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Wed Jun 3 12:18:39 UTC 2015


   The fix looks good to me.

   Thanks,
   Alexandr.

On 5/25/2015 3:53 PM, Sergey Bylokhov wrote:
> Hello.
> Please review the fix for jdk9.
>
> The problem is that BeanDescriptor.getBeanDescriptor.getValue() for 
> "containerDelegate" return null, when default delegate is assumed or 
> an empty delegate was provided by the user.
> There are a different ways to fix the issue but I select this, because 
> of assumption that @SwingContainer(delegate = "") should not return 
> null, and we have no way to detect it was set by the user or by default.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8076312
> Webrev can be found at: 
> http://cr.openjdk.java.net/~serb/8076312/webrev.00
>



More information about the beans-dev mailing list