You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vasily Zakharov (JIRA)" <ji...@apache.org> on 2007/06/26 03:33:26 UTC

[jira] Created: (HARMONY-4280) [classlib][suncompat] sun.misc.Service class is absent

[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:
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.


[jira] Updated: (HARMONY-4280) [classlib][suncompat][netbeans] sun.misc.Service class is absent

Posted by "Vasily Zakharov (JIRA)" <ji...@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:     (was: 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
>
>
> 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.


[jira] Updated: (HARMONY-4280) [classlib][suncompat][netbeans] sun.misc.Service class is absent

Posted by "Vasily Zakharov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vasily Zakharov updated HARMONY-4280:
-------------------------------------

    Patch Info: [Patch Available]

> [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
>
>
> 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.


[jira] Updated: (HARMONY-4280) [classlib][suncompat][netbeans] sun.misc.Service class is absent

Posted by "Vasily Zakharov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vasily Zakharov updated HARMONY-4280:
-------------------------------------

    Description: 
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


  was:
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



> [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
>
> 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.


[jira] Updated: (HARMONY-4280) [classlib][suncompat][netbeans] sun.misc.Service class is absent

Posted by "Vasily Zakharov (JIRA)" <ji...@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.


[jira] Updated: (HARMONY-4280) [classlib][suncompat][netbeans] sun.misc.Service class is absent

Posted by "Vasily Zakharov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vasily Zakharov updated HARMONY-4280:
-------------------------------------

    Summary: [classlib][suncompat][netbeans] sun.misc.Service class is absent  (was: [classlib][suncompat] sun.misc.Service class is absent)

> [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
>
> 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.


[jira] Commented: (HARMONY-4280) [classlib][suncompat][netbeans] sun.misc.Service class is absent

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589252#action_12589252 ] 

Davanum Srinivas commented on HARMONY-4280:
-------------------------------------------

A better implementation is here - http://svn.apache.org/viewvc/xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/util/Service.java?view=markup

thanks,
dims

> [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
>
>
> 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.


[jira] Updated: (HARMONY-4280) [classlib][suncompat][netbeans] sun.misc.Service class is absent

Posted by "Vasily Zakharov (JIRA)" <ji...@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

Here's the patch that contains a simple stub implementation for sun.misc.Service, that enables NetBeans with NetBeans Profiler to start normally.

I'm not sure if this patch should be applied, though it works, it still needs to be discussed.


> [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
>
>
> 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.