[code-reflection] RFR: Structured type definition [v3]

Paul Sandoz psandoz at openjdk.org
Thu Feb 15 19:39:14 UTC 2024


On Thu, 15 Feb 2024 19:33:12 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> cr-examples/triton/src/main/java/oracle/code/triton/TensorType.java line 88:
>> 
>>> 86: 
>>> 87:     @Override
>>> 88:     public String toString() {
>> 
>> Would it make sense for this to be a default method in the TypeElement interface? (probably also related to `equals/hashCode`
>
> Yes, good point, i will do that then integrate.

Ah i forgot, it's not possible for default methods to override the methods on Object.

-------------

PR Review Comment: https://git.openjdk.org/babylon/pull/23#discussion_r1491538840


More information about the babylon-dev mailing list