commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1251) SerializationUtils.ClassLoaderAwareObjectInputStream should use static initializer to initialize primitiveTypes map.
Date Wed, 27 Jul 2016 05:27:20 GMT

    [ https://issues.apache.org/jira/browse/LANG-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15395068#comment-15395068
] 

ASF GitHub Bot commented on LANG-1251:
--------------------------------------

Github user coveralls commented on the issue:

    https://github.com/apache/commons-lang/pull/180
  
    
    [![Coverage Status](https://coveralls.io/builds/7179409/badge)](https://coveralls.io/builds/7179409)
    
    Coverage decreased (-0.06%) to 93.382% when pulling **c8cf32f8f242f8a2b17865fee58b71c04db6b908
on ueshin:issues/LANG-1251** into **bd9adbb637a8a4aa5eb61c6fde2c576d0ab3c4fa on apache:master**.



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

Mime
View raw message