On Tue, 16 Mar 2021 17:24:56 GMT, Mandy Chung <mch...@openjdk.org> wrote:
>> Hi Rémi, >> There seems to be a deeper issue here - Patrick pointed that out to me - the >> specification of equals above speaks of comparing class names where the >> actual implementation compares classes. Maybe the specification should be >> updated - but that would be better done in a separate issue with CSR etc... >> Maybe we can do the optimization you suggest at the same time? > > `declaringClass` is a string representing the class name (not the `Class` > object). The variable name indeed causes confusion. Doh. My mistake. Was thinking about `StackFrame`. Thanks Mandy! ------------- PR: https://git.openjdk.java.net/jdk/pull/2913