<AWT Dev> [PATCH] Cleanup AWT peer interfaces

Andrei V. Dmitriev Andrei.Dmitriev at Sun.COM
Thu Sep 18 05:28:33 PDT 2008


I meant that there is no such class in the JDK7 anymore:
http://hg.openjdk.java.net/jdk7/awt/jdk/file/3b9a288d7ddb/src/solaris/classes/sun/awt/motif/
Actually there are few motif classes are remaining there though they 
still are compiled while building the repo.
Regards,
   Andrei

>> 2)I don't take Motif toolkit into account. You are fixing that as well, 
>> - src/solaris/classes/sun/awt/motif/MComponentPeer.java.
> 
> This specific case needed to be fixed, because it was casting to
> WindowPeer, only to be able to call the requestWindowFocus() method
> which is not used by AWT, but only internally in the Motif toolkit. I
> removed this method from WindowPeer, so we need to cast to MWindowPeer
> instead, that's all.
> 
>> You'll probably be suggested by the system to ignore that patch on the 
>> push stage. So be prepared.
> 
> If I ignore it, we can't build MComponentPeer anymore. Be prepared :-)
> 
>> Anyway, I'm fine with that patch. Approved.
> 
> Cheers, Roman
> 



More information about the awt-dev mailing list