RFR: 8015831: Add lint check for calling overridable methods from a constructor [v10]
Archie L. Cobbs
duke at openjdk.org
Mon Jan 16 15:49:28 UTC 2023
On Mon, 16 Jan 2023 11:53:40 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> Archie L. Cobbs has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - Fix bug where field initializer warnings could be incorrectly suppressed.
>> - Consolidate all the unit tests that generate warnings into one.
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ThisEscapeAnalyzer.java line 1096:
>
>> 1094:
>> 1095: // Perform the given action within a new scope
>> 1096: private <T> void visitScoped(boolean promote, Runnable action) {
>
> type-variable unused here?
Thanks - will fix.
-------------
PR: https://git.openjdk.org/jdk/pull/11874
More information about the core-libs-dev
mailing list