harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer" <ndbe...@apache.org>
Subject Re: Implementing suncompat stubs
Date Fri, 02 Mar 2007 03:00:11 GMT
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