[jdk11u-dev] RFR: 8261205: AssertionError: Cannot add metadata to an intersection type [v2]

Paul Hohensee phh at openjdk.java.net
Tue Feb 1 21:48:10 UTC 2022


On Sat, 29 Jan 2022 09:05:53 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

>> This is a backport of [JDK-8888888: AssertionError: Cannot add metadata to an intersection type](https://bugs.openjdk.java.net/browse/JDK-8261205)
>> 
>> Original patch does not apply cleanly to 11u
>> 
>> * I resolved a conflict where the loop in `JavacParser` that sets `declaredUsingVar = true;` was modified by JDK-8210742
>> * I adjusted the changes to imports, the original patch removed an import of `com.sun.tools.javac.code.Attribute.Array` from `TypeAnnotations.java` that was still being used in 11
>> * I removed the use of multi-line string literals in the test
>>  
>> Testing: x86_64 build, affected tests, tier1
>
> Liam Miller-Cushon has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:
> 
>   Backport 81f39ed3e0176b75dee1c8db24041545bcc68a86

Lgtm.

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

Marked as reviewed by phh (Reviewer).

PR: https://git.openjdk.java.net/jdk11u-dev/pull/794


More information about the jdk-updates-dev mailing list