You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2007/01/04 08:34:27 UTC

[jira] Updated: (OPENEJB-433) Remove dependency on Sun Classes in *ClassPath classes

     [ https://issues.apache.org/jira/browse/OPENEJB-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Blevins updated OPENEJB-433:
----------------------------------

    Description: 
Remove dependency on Sun Classes.

BasicURLClassPath, SystemClassPath and TomcatClassPath directly reference sun.misc.URLClassPath.  This reference is obtained using reflection and set accessible, so with a bit more reflection we should be able to remove the reference.


  was:
Remove dependency on Sun Classes.

JarUtils uses suntools.jar.Main to add an entry to an existing jar.  This could be replaced by creating a new temp jar with JarOutputStream copying all the data from the existing jar and adding the one new entry.  Then you swap the two files.

BasicURLClassPath, SystemClassPath and TomcatClassPath directly reference sun.misc.URLClassPath.  This reference is obtained using reflection and set accessible, so with a bit more reflection we should be able to remove the reference.


        Summary: Remove dependency on Sun Classes in *ClassPath classes  (was: Remove dependency on Sun Classes)

> Remove dependency on Sun Classes in *ClassPath classes
> ------------------------------------------------------
>
>                 Key: OPENEJB-433
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-433
>             Project: OpenEJB
>          Issue Type: Task
>    Affects Versions: 2.2, 3.0
>            Reporter: Alan Cabrera
>
> Remove dependency on Sun Classes.
> BasicURLClassPath, SystemClassPath and TomcatClassPath directly reference sun.misc.URLClassPath.  This reference is obtained using reflection and set accessible, so with a bit more reflection we should be able to remove the reference.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira