Steve Loughran created HADOOP-19930:
---------------------------------------

             Summary: 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.4.3, 3.5.0, 3.5.1
            Reporter: Steve Loughran
            Assignee: Steve Loughran


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