Skip to content

[pigeon] Generated Java contains raw types #119338

@ChristianEdwardPadilla

Description

@ChristianEdwardPadilla

Pigeon version 7.1.0 generates raw ArrayList types, causing rawtypes warnings to be raised.

Example warning (upgraded to error in g3 codebase):

warning: [rawtypes] found raw type: ArrayList
                ArrayList wrapped = new ArrayList<>();
                ^
  missing type arguments for generic class ArrayList<E>
  where E is a type-variable:
    E extends Object declared in class ArrayList
error: warnings found and -Werror specified

Metadata

Metadata

Assignees

Labels

customer: googleVarious Google teamsp: pigeonrelated to pigeon messaging codegen toolpackageflutter/packages repository. See also p: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions