On Tue, 17 Jan 2023 11:23:24 GMT, Maurizio Cimadamore <[email protected]>
wrote:
>> Archie L. Cobbs has updated the pull request incrementally with three
>> additional commits since the last revision:
>>
>> - Remove unused type variable on method visitScoped().
>> - Remove expression type filtering; it doesn't seem to be needed.
>> - Clean up unused import.
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ThisEscapeAnalyzer.java
> line 1450:
>
>> 1448:
>> 1449: // Information about a constructor or method in the compilation
>> unit
>> 1450: private static class MethodInfo {
>
> This could be a record, right? I believe you can then drop accessors and
> toString?
Yes! Will fix - thanks.
-------------
PR: https://git.openjdk.org/jdk/pull/11874