RFR: 8268312: Compilation error with nested generic functional interface [v7]

Vicente Romero vromero at openjdk.org
Thu Jul 14 05:08:50 UTC 2022


On Tue, 12 Jul 2022 02:34:00 GMT, Vicente Romero <vromero at openjdk.org> wrote:

>> test/langtools/tools/javac/Diagnostics/compressed/T8012003b.out line 4:
>> 
>>> 2: T8012003b.java:31:16: compiler.err.prob.found.req: (compiler.misc.stat.expr.expected)
>>> 3: T8012003b.java:32:22: compiler.err.prob.found.req: (compiler.misc.incompatible.ret.type.in.lambda: (compiler.misc.conditional.target.cant.be.void))
>>> 4: T8012003b.java:33:12: compiler.err.prob.found.req: (compiler.misc.invalid.mref: kindname.method, (compiler.misc.cant.apply.symbol: kindname.method, g, java.lang.String, java.lang.Integer, kindname.class, T8012003b, (compiler.misc.no.conforming.assignment.exists: (compiler.misc.inconvertible.types: java.lang.Integer, java.lang.String))))
>> 
>> Seems like this diagnostic is not getting compressed?
>
> yep good catch, checking what's going on

uploaded another iteration as discussed offline, thanks

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

PR: https://git.openjdk.org/jdk/pull/5586


More information about the compiler-dev mailing list