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:32:28 UTC

[jira] Updated: (OPENEJB-434) Remove dependency on Sun Classes in JarUtils

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

David Blevins updated OPENEJB-434:
----------------------------------

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


  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.



> Remove dependency on Sun Classes in JarUtils
> --------------------------------------------
>
>                 Key: OPENEJB-434
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-434
>             Project: OpenEJB
>          Issue Type: Task
>    Affects Versions: 2.2, 3.0
>            Reporter: David Blevins
>
> 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.

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