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

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Thu Oct 13 13:15:40 UTC 2016


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