RFR: 8155591: Misleading warning when not overriding close method in interface extending AutoCloseable [v3]

Archie Cobbs acobbs at openjdk.org
Thu Nov 6 15:28:02 UTC 2025


On Wed, 5 Nov 2025 18:47:54 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

>> Archie Cobbs has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
>> 
>>  - Add more regression test variants.
>>  - Fix missed warning when close() method implemented in superclass.
>>  - Merge branch 'master' into JDK-8155591
>>  - Merge branch 'master' into JDK-8155591 to get recent build fixes.
>>  - Don't warn about AutoCloseable.close() itself throwing InterruptedException.
>
> @jddarcy - looks good to me - any comments/insights? Thanks!

@lahodaj thanks for the review!

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

PR Comment: https://git.openjdk.org/jdk/pull/27062#issuecomment-3497802397


More information about the compiler-dev mailing list