RFR: 8261205: AssertionError: Cannot add metadata to an intersection type [v3]

Maurizio Cimadamore mcimadamore at openjdk.java.net
Thu May 20 00:45:31 UTC 2021


On Thu, 20 May 2021 00:33:38 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Vicente Romero has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - forgot to uncomment a line in the test
>>  - fix the same issue for implicit lambda params declared with var
>
> test/langtools/tools/javac/annotations/typeAnnotations/VariablesDeclaredWithVarTest.java line 68:
> 
>> 66:             class Test {
>> 67:                 void kaa() {
>> 68:                     //@A var c = g(1, 1L);
> 
> Is this meant to be commented out?

Ah ok, I see this is fixed now

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

PR: https://git.openjdk.java.net/jdk/pull/4095


More information about the compiler-dev mailing list