On Fri, 13 Feb 2026 11:27:56 GMT, Vicente Romero <[email protected]> wrote:
>> Adding a bit more of information to the warning message so that the >> overrided method or the target, in the case of lambdas and method >> references, can be easier to find > > Vicente Romero has updated the pull request incrementally with one additional > commit since the last revision: > > additional test src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java line 4017: > 4015: > LintWarnings.IncompatibleNullRestrictions( > 4016: > Fragments.LambdaArgumentTypeNullabilityMismatch(incompatibleParam.overridingType(), > 4017: > incompatibleParam.overridenType(), tree.target))); I've missed this last time -- should this code only run _after_ speculative attribution, when the types are settled? ------------- PR Review Comment: https://git.openjdk.org/valhalla/pull/2098#discussion_r2804418520
