<AWT Dev> Removing all methods that use the AWT peer types in JDK 9
Roman Kennke
rkennke at redhat.com
Mon Feb 16 17:54:35 UTC 2015
Am Montag, den 16.02.2015 um 09:05 +0100 schrieb Mario Torre:
> Hi Phil,
>
> While I welcome this, it also means it will make impossible to create
> custom ports of the AWT ports for *JDK9+. For one, it will break
> Caciocavallo for example.
As far as I understand it, it probably wouldn't. It would only affect
applications that somehow use the Toolkit.createFluffPeer() methods, for
whatever reason. It should not break peer implementations. At least not
internal ones.
> For Cacio, we can try to merge the code in the JDK proper (long
> overdue anyway), but generic custom ports may be very hard to do.
I would welcome this. Chasing changing internal APIs ain't no fun. And
if the peer interfaces really are not available external libs, then
yeah, Cacio would need to be part of the bootclasspath (whatever that
means in module land).
> Perhaps the peers should be more abstracted away, rather then
> completely removed.
I don't think the idea is to remove the peers altogether.
Regards,
Roman
More information about the awt-dev
mailing list