garydgregory commented on pull request #657:
URL: https://github.com/apache/commons-lang/pull/657#issuecomment-735465267


   > @garydgregory
   > According to me, we cannot represent the cyclic dependency in extended 
string form, hence I thought it would be better to detect this kind of scenario 
and then throw an exception in order to avoid cyclic method calls and 
StackOverflow Exception.
   > 
   > Can you please suggest how the 'java-esque' string would look like?
   
   In the Eclipse debugger, `AAAAClass.BBBBClass.CCCClass.class` is displayed 
as "class org.apache.commons.lang3.reflect.AAAAClass$BBBBClass$CCCClass". We 
don't display the `class` prefix IIRC. I do not know if Eclipse does not 
display generics because it never does or because doing so in this case is 
problematic.
   


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

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


Reply via email to