harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4280) [classlib][suncompat] sun.misc.Service class is absent
Date Tue, 26 Jun 2007 01:33:26 GMT
[classlib][suncompat] 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

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:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message