[
https://issues.apache.org/jira/browse/HADOOP-19930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HADOOP-19930:
------------------------------------
Labels: pull-request-available (was: )
> 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
>
> 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]