You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Joe Kesselman (Jira)" <ji...@apache.org> on 2023/05/13 21:05:00 UTC
[jira] [Commented] (XALANJ-2628) Remove synchornization on primitive classes
[ https://issues.apache.org/jira/browse/XALANJ-2628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17722421#comment-17722421 ]
Joe Kesselman commented on XALANJ-2628:
---------------------------------------
Xalan is still being compiled for compatibility with Java 8, so classes deprecated since then may still be needed if a Java 8 replacement doesn't exist.
Are there any alternatives you'd like to suggest?
> Remove synchornization on primitive classes
> -------------------------------------------
>
> Key: XALANJ-2628
> URL: https://issues.apache.org/jira/browse/XALANJ-2628
> Project: XalanJ2
> Issue Type: Bug
> Security Level: No security risk; visible to anyone(Ordinary problems in Xalan projects. Anybody can view the issue.)
> Reporter: Thiago Henrique Hupner
> Assignee: Gary D. Gregory
> Priority: Major
>
> JDK 16 marked the primitive class wrappers as deprecated for removal.
> And in the JEP, they also said that would be added a flag to see if there is any synchronization on them.
> [https://openjdk.java.net/jeps/390]
>
> However, Xalan Serializer 2.7.2 does it in the
> org.apache.xml.serializer.OutputPropertiesFactory, using the `Integer m_synch_object` field
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org