lehmi commented on PR #107:
URL: https://github.com/apache/pdfbox/pull/107#issuecomment-1460488068

   Java tries to match the calling type of the parameter with the method 
signature but it doesn't do any automatic up-casting to find a more specific 
match before calling it. 
   
   Saying that, all calls from "writeTokens(Object... tokens)" end up in 
writeObject(Object o) even if the token is an instance of Operator.
   


-- 
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