harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: Implementing suncompat stubs
Date Fri, 02 Mar 2007 18:25:20 GMT
Any idea what that class does?

Would it be something we could make functional?  I'd love to see  
NetBeans work.

geir

On Mar 1, 2007, at 7:00 PM, Nathan Beyer wrote:

> NotImplementedException is intended to be a TODO marker, so don't go
> that route, since there wouldn't be any intent for Harmony to complete
> this task.
>
> I'd prefer UnsupportedOperationExceptions, but if returning nulls or
> no-ops makes things work a bit better, then that's fine.
>
> -Nathan
>
> On 3/1/07, Zakharov, Vasily M <vasily.m.zakharov@intel.com> wrote:
>> Hi, all,
>>
>> Netbeans uses RI-specific class (sun.awt.AppContext) directly, and  
>> that
>> makes it non-compilable on Harmony.
>>
>> I'm going to propose a patch to add a stub for that class to  
>> suncompat
>> module.
>>
>> But I'm not sure what is our policy on methods in such stubs, should
>> they return null, or throw java.lang.UnsupportedOperationException or
>> throw
>> org.apache.harmony.luni.util.NotImplementedException?
>>
>> Any ideas?
>>
>> Vasily Zakharov
>> Intel ESSD
>>


Mime
View raw message