Could you review the fix:
- Inaccessible classes returned by public API in swing are changed to
their public super classes.
- Fields which expose inaccessible classes are deprecated and marked
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.