[prev in list] [next in list] [prev in thread] [next in thread]
List: jakarta-commons-dev
Subject: [jira] [Resolved] (LANG-1251) SerializationUtils.ClassLoaderAwareObjectInputStream should use static
From: "Pascal Schumacher (JIRA)" <jira () apache ! org>
Date: 2016-07-31 17:52:20
Message-ID: JIRA.12992801.1469596681000.181159.1469987540575 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/LANG-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Pascal Schumacher resolved LANG-1251.
-------------------------------------
Resolution: Fixed
Assignee: Pascal Schumacher
Fix Version/s: 3.5
Pull request merged. Thanks for reporting and thanks for fixing.
> SerializationUtils.ClassLoaderAwareObjectInputStream should use static initializer \
> to initialize primitiveTypes map.
> --------------------------------------------------------------------------------------------------------------------
>
> Key: LANG-1251
> URL: https://issues.apache.org/jira/browse/LANG-1251
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.*
> Affects Versions: 3.2, 3.3, 3.4
> Reporter: Takuya Ueshin
> Assignee: Pascal Schumacher
> Fix For: 3.5
>
>
> {{SerializationUtils.ClassLoaderAwareObjectInputStream}} should use static \
> initializer to initialize {{primitiveTypes}} map because initializing the map in \
> the constructor of {{ClassLoaderAwareObjectInputStream}} would break thread safety. \
> {{java.util.HashMap}} is not thread safe.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic