git: openjdk/jdk: master: 8155591: Misleading warning when not overriding close method in interface extending AutoCloseable
Archie Cobbs
acobbs at openjdk.org
Thu Nov 6 15:33:37 UTC 2025
Changeset: a5864582
Branch: master
Author: Archie Cobbs <acobbs at openjdk.org>
Date: 2025-11-06 15:28:01 +0000
URL: https://git.openjdk.org/jdk/commit/a5864582da7e19b941bf55c294a414bc1a0c7a84
8155591: Misleading warning when not overriding close method in interface extending AutoCloseable
Reviewed-by: jlahoda
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/langtools/tools/javac/TryWithResources/InterruptedExceptionTest.java
+ test/langtools/tools/javac/TryWithResources/InterruptedExceptionTest2.java
+ test/langtools/tools/javac/TryWithResources/InterruptedExceptionTest2.out
! test/langtools/tools/javac/diags/examples/TryResourceThrowsInterruptedExc.java
More information about the jdk-changes
mailing list