[PATCH] More List fixes

Bryce McKinlay bryce@mckinlay.net.nz
Sat Dec 13 23:20:00 GMT 2003


On Dec 13, 2003, at 1:09 PM, Tom Tromey wrote:

>>>>>> "Fernando" == Fernando Nasser <fnasser@redhat.com> writes:
>
> Fernando> Properly implementing replaceItem fixes several annoyances I 
> was
> Fernando> seeing in our AWT List when compared to Sun's one.
>
> Fernando>          * java/awt/peer/ListPeer.java: Add new method to 
> interface.
>
> There's been some discussion about trying to make our peers conform to
> the JDK specification, even though it is undocumented.  It turns out
> there are other peer implementations around, it might be useful to let
> them work with our implementation.

> What do you think about the compatibility idea?

Are there any independently developed peer implementations (for Sun's 
JRE) that work with anything newer than JDK1.1? I'm not aware of any.

Compatibility would be difficult given that there is no published spec, 
also the interface is no doubt quite complex. The benefits would be 
questionable - it would let us run our peers on Sun's JDK for debugging 
purposes, but I don't think that advantage is worth the effort that 
would be involved.

In the long run, however, it may well be worth stabilizing and 
documenting _our_ peer interface so that others can develop peers 
independently of libgcj.

Regards

Bryce.



More information about the Java-patches mailing list