<Swing Dev> [9] Review request for 8167176 Exported elements referring to inaccessible types in java.desktop

Alexandr Scherbatiy alexandr.scherbatiy at oracle.com
Mon Oct 17 11:22:16 UTC 2016


   Hello,

   Could you review the updated fix:
     http://cr.openjdk.java.net/~alexsch/8167176/webrev.01

   MetalBorders.bumps and MetalScrollBarUI.bumps fields are nor marked 
for removal any more.

   Thanks,
   Alexandr.

On 10/14/2016 3:23 PM, Sergey Bylokhov wrote:
> Is it necessary to remove tese fields? For example 
> MetalScrollBarUI.bumps looks similar to other fields 
> MetalScrollButton.increaseButton/decreaseButton.
>
> On 13.10.16 16:15, Alexander Scherbatiy wrote:
>>
>> Hello,
>>
>> Could you review the fix:
>>   bug: https://bugs.openjdk.java.net/browse/JDK-8167176
>>   webrev: http://cr.openjdk.java.net/~alexsch/8167176/webrev.00
>>   - Inaccessible classes returned by public API in swing are changed to
>> their public super classes.
>>   - Fields which expose inaccessible classes are deprecated and marked
>> for removal.
>>
>>   Changing a public field type to its superclass is incompatible change
>> with previous releases. However it is not possible to use a class which
>> is not exported in JDK 9 because of the modularization feature.
>>
>>   Thanks,
>>   Alexandr.
>>
>
>




More information about the swing-dev mailing list