<Swing Dev> [9] Review request for 8167176 Exported elements referring to inaccessible types in java.desktop
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Fri Oct 14 12:23:43 UTC 2016
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.
>
--
Best regards, Sergey.
More information about the swing-dev
mailing list