See http://issues.apache.org/jira/browse/HARMONY-3280
Fixed, sun.awt.AppContext stub was added to suncompat module. Regards, 2007/3/3, Zakharov, Vasily M <[EMAIL PROTECTED]>:
I have no idea what the class does, but the code is wrapped so that if the class is not found, it just catches the exception and goes on. It looks like addressing this class does not affect Netbeans operation. The only purpose for adding a stub to suncompat is to make Netbeans compilable on Harmony. See http://issues.apache.org/jira/browse/HARMONY-3280 Vasily -----Original Message----- From: Geir Magnusson Jr. [mailto:[EMAIL PROTECTED] Sent: Friday, March 02, 2007 9:25 PM To: [email protected] Subject: Re: Implementing suncompat stubs 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 <[EMAIL PROTECTED]> 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 >>
-- Alexei Zakharov, Intel ESSD
