You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/09/08 09:42:00 UTC

[jira] [Commented] (HADOOP-19930) ObjectWritable to take interface/superclass and check before class load

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

ASF GitHub Bot commented on HADOOP-19930:
-----------------------------------------

steveloughran commented on PR #8640:
URL: https://github.com/apache/hadoop/pull/8640#issuecomment-5582910019

   I'm doing the merge with the approval. The build/test is failing in the debian java 25 setup now I've merged in trunk, which I'm going to assert is unrelated. Bad, needs fixing, but unrelated.
   
   




> 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org