Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 76155 invoked from network); 26 Jun 2007 01:55:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jun 2007 01:55:49 -0000 Received: (qmail 44867 invoked by uid 500); 26 Jun 2007 01:55:51 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 44851 invoked by uid 500); 26 Jun 2007 01:55:51 -0000 Mailing-List: contact commits-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 commits@harmony.apache.org Received: (qmail 44514 invoked by uid 99); 26 Jun 2007 01:55:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2007 18:55:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2007 18:55:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 427E77141DC for ; Mon, 25 Jun 2007 18:55:26 -0700 (PDT) Message-ID: <11706657.1182822926270.JavaMail.jira@brutus> Date: Mon, 25 Jun 2007 18:55:26 -0700 (PDT) From: "Vasily Zakharov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-4280) [classlib][suncompat][netbeans] sun.misc.Service class is absent In-Reply-To: <9476735.1182821606107.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vasily Zakharov updated HARMONY-4280: ------------------------------------- Attachment: Harmony-4280.patch > [classlib][suncompat][netbeans] sun.misc.Service class is absent > ---------------------------------------------------------------- > > Key: HARMONY-4280 > URL: https://issues.apache.org/jira/browse/HARMONY-4280 > Project: Harmony > Issue Type: Bug > Components: App-Oriented Bug Reports, Classlib > Reporter: Vasily Zakharov > Priority: Minor > Attachments: Harmony-4280.patch, Harmony-4280.patch > > > Running NetBeans with NetBeans Profiler on Harmony produces a lot of errors, most of which are caused by sun.misc.Service class is absent. The general idea for this class can be obtained from [1] - look for Service.providers call. I'm not sure if Harmony has an equivalent for that class, but it probably should - people on the net (Google) say that the class is rather widely used and that it should become a part of public API in future, and it probably would [2]. Moreover, it seems to be already replaced with java.util.ServiceLoader [3] in Java 6. > [1] http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html > [2] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4640520 > [3] http://java.sun.com/javase/6/docs/api/java/util/ServiceLoader.html > Here's the discussion on this topic in the mailing list: > http://thread.gmane.org/gmane.comp.java.harmony.devel/27132 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.