RFR: 8347562: javac crash due to type vars in permits clause [v3]
duke
duke at openjdk.org
Wed Jan 15 12:04:37 UTC 2025
On Tue, 14 Jan 2025 07:09:26 GMT, Hannes Greule <hgreule at openjdk.org> wrote:
>> This fix ignores erroneous types when attributing permits clauses. Before, multiple erroneous types would lead to an exception in the duplication check. Additionally, such types would cause package mismatch errors. As javac already reports errors before, such an additional error is more confusing than helpful.
>>
>> Note that there are additional type var checks, but those only apply if the type vars come from a type other than the type with the permits clause, i.e. an enclosing class.
>
> Hannes Greule has updated the pull request incrementally with one additional commit since the last revision:
>
> update copyright year
@SirYwell
Your change (at version 41bbac883d63b4b5d32b766627315c151d77705c) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23069#issuecomment-2592572284
More information about the compiler-dev
mailing list