[ 
https://issues.apache.org/jira/browse/HADOOP-19930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Loughran resolved HADOOP-19930.
-------------------------------------
    Fix Version/s: 3.4.4
                   3.5.1
                   3.6.0
       Resolution: Fixed

> ObjectWritable to take interface/superclass and check before class load
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-19930
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19930
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 3.5.0, 3.4.3, 3.5.1
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.4.4, 3.5.1, 3.6.0
>
>
> ObjectWritable.loadClass is used to load classes from writables, after which 
> the loaded class is cast to the target interface and then instantiated.
> Validating that the loaded class is of the required type prior to 
> instantiation allows for faster failing, as there's no load.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to