pan3793 commented on PR #8182:
URL: https://github.com/apache/hadoop/pull/8182#issuecomment-3798289102

   @aajisaka, thanks for the clarification. I re-read the conversation 
carefully and understand the situation now.
   
   > 4. The cast fails because a proxy object cannot be cast to a concrete 
implementation class
   
   Specific to this issue, it looks like `public class DocEnvImpl ...` is not 
`final`, so it's feasible to create a derived class that delegates all 
invocations to the Proxy one, to pass the explicitly cast check?
   
   > Now I feel it's becoming really hard to maintain Hadoop's custom Doclets, 
and therefore I would like to drop the custom implementation. 
   
   Agree, but given the impact number is huge, and I suppose that Hadoop will 
use Java 17 as a baseline for several years, it's still valuable if the problem 
can be solved by a few hundred lines of hacky code.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to