From dev-return-24626-apmail-harmony-dev-archive=harmony.apache.org@harmony.apache.org Thu Mar 01 22:51:26 2007 Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 23369 invoked from network); 1 Mar 2007 22:51:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2007 22:51:24 -0000 Received: (qmail 41634 invoked by uid 500); 1 Mar 2007 22:51:29 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 41604 invoked by uid 500); 1 Mar 2007 22:51:29 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 41594 invoked by uid 99); 1 Mar 2007 22:51:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 14:51:29 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [134.134.136.24] (HELO mga09.intel.com) (134.134.136.24) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 14:51:16 -0800 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by mga09.intel.com with ESMTP; 01 Mar 2007 14:50:38 -0800 Received: from fmsmsx333.amr.corp.intel.com ([132.233.42.2]) by fmsmga002.fm.intel.com with ESMTP; 01 Mar 2007 14:50:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: i="4.14,238,1170662400"; d="scan'208"; a="52223547:sNHT20995524" Received: from mssmsx411.ccr.corp.intel.com ([10.125.2.10]) by fmsmsx333.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 1 Mar 2007 14:50:32 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Implementing suncompat stubs Date: Fri, 2 Mar 2007 01:51:06 +0300 Message-ID: <3D8E84095C6A524A985B787423094E40BEF8A3@mssmsx411> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Implementing suncompat stubs Thread-Index: AcdcVBjG5xAutARiTNGt0xFwQG/r0Q== From: "Zakharov, Vasily M" To: X-OriginalArrivalTime: 01 Mar 2007 22:50:32.0769 (UTC) FILETIME=[049C0310:01C75C54] X-Virus-Checked: Checked by ClamAV on apache.org 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