You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2006/11/09 22:56:37 UTC

[jira] Created: (XALANJ-2336) Xalan-J should stop using java.util.Vector

Xalan-J should stop using java.util.Vector
------------------------------------------

                 Key: XALANJ-2336
                 URL: http://issues.apache.org/jira/browse/XALANJ-2336
             Project: XalanJ2
          Issue Type: Improvement
    Affects Versions: Latest Development Code
            Reporter: Brian Minchau


Xalan-J uses the java.util.Vector class.

This class is synchronized. Until now its newer unsynchronized equivalent, java.util.ArrayList and java.util.LinkedList could not be used. However now that we have dropped support for 1.1.x we can move up to use the newer classes available since JRE 1.2

We should do this because the code will run faster.



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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Resolved: (XALANJ-2336) Xalan-J should stop using java.util.Vector in some cases

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANJ-2336?page=all ]

Brian Minchau resolved XALANJ-2336.
-----------------------------------

    Fix Version/s: Latest Development Code
       Resolution: Fixed

I applied patch1, patch2 and patch3 to the code base.  This issue is resolved.

There may be more synchronization issues, possibly with classes other than Vector, but that will be another issue.

> Xalan-J should stop using java.util.Vector in some cases
> --------------------------------------------------------
>
>                 Key: XALANJ-2336
>                 URL: http://issues.apache.org/jira/browse/XALANJ-2336
>             Project: XalanJ2
>          Issue Type: Improvement
>    Affects Versions: Latest Development Code
>            Reporter: Brian Minchau
>             Fix For: Latest Development Code
>
>         Attachments: IteratorPool.patch2.txt, ObjectPool.patch3.txt, patch1.txt
>
>
> Xalan-J uses the java.util.Vector class.
> This class is synchronized. Until now its newer unsynchronized equivalent, java.util.ArrayList and java.util.LinkedList could not be used. However now that we have dropped support for 1.1.x we can move up to use the newer classes available since JRE 1.2
> We should do this because the code will run faster.

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Closed: (XALANJ-2336) Xalan-J should stop using java.util.Vector in some cases

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XALANJ-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Minchau closed XALANJ-2336.
---------------------------------


closing this issue.

> Xalan-J should stop using java.util.Vector in some cases
> --------------------------------------------------------
>
>                 Key: XALANJ-2336
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2336
>             Project: XalanJ2
>          Issue Type: Improvement
>    Affects Versions: 2.7
>            Reporter: Brian Minchau
>             Fix For: 2.7.1
>
>         Attachments: IteratorPool.patch2.txt, ObjectPool.patch3.txt, patch1.txt
>
>
> Xalan-J uses the java.util.Vector class.
> This class is synchronized. Until now its newer unsynchronized equivalent, java.util.ArrayList and java.util.LinkedList could not be used. However now that we have dropped support for 1.1.x we can move up to use the newer classes available since JRE 1.2
> We should do this because the code will run faster.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


[jira] Commented: (XALANJ-2336) Xalan-J should stop using java.util.Vector in some cases

Posted by "Yash Talwar (JIRA)" <xa...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XALANJ-2336?page=comments#action_12450523 ] 
            
Yash Talwar commented on XALANJ-2336:
-------------------------------------

I have reviewed the following patches.

IteratorPool.patch2.txt
ObjectPool.patch3.txt
patch1.txt

The changes look good to me.
I approve.

Thanks!

Yash

> Xalan-J should stop using java.util.Vector in some cases
> --------------------------------------------------------
>
>                 Key: XALANJ-2336
>                 URL: http://issues.apache.org/jira/browse/XALANJ-2336
>             Project: XalanJ2
>          Issue Type: Improvement
>    Affects Versions: Latest Development Code
>            Reporter: Brian Minchau
>         Attachments: IteratorPool.patch2.txt, ObjectPool.patch3.txt, patch1.txt
>
>
> Xalan-J uses the java.util.Vector class.
> This class is synchronized. Until now its newer unsynchronized equivalent, java.util.ArrayList and java.util.LinkedList could not be used. However now that we have dropped support for 1.1.x we can move up to use the newer classes available since JRE 1.2
> We should do this because the code will run faster.

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org