[
http://issues.apache.org/jira/browse/XALANJ-2344?page=comments#action_12450644
]
Toadie D commented on XALANJ-2344:
----------------------------------
ElemTextLiteral.patch.txt is not related to Vector. A synchronized method was
changed to unsynchronized. The reason for this proposal is that method
getChars() allows unsynchronized access to variable m_ch
public char[] getChars()
{
return m_ch;
}
so it's not entirely clear why the valuable m_str needs guarding especially ?
> Xalan-J should stop using java.util.Vector in some cases (NOT a clone of 2336)
> ------------------------------------------------------------------------------
>
> Key: XALANJ-2344
> URL: http://issues.apache.org/jira/browse/XALANJ-2344
> Project: XalanJ2
> Issue Type: Improvement
> Components: Xalan
> Affects Versions: Latest Development Code
> Reporter: Toadie D
> Attachments: ElemLiteralResult.patch.txt, ElemTextLiteral.patch.txt,
> ElemUse.patch.txt, StylesheetRoot+XSLTSchema.patch.txt,
> StylesheetRoot.patch.txt
>
>
> ref: https://issues.apache.org/jira/browse/XALANJ-2336
> This bug is related to 2336 but is NOT a clone. The patches provided here
> are in addition to the ones in 2336. Furthermore, these patches are created
> AFTER the patch in 2336 are applied.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]