Skip to content

getAllImportedRules uses HashSet, making getDelegatedRules order non-deterministic #222

Open
@alexofortune

Description

@alexofortune

As in title.

This basically makes generated .java files and thus .class files non-deterministic. This seems to at least make the Apache Hive's grammar file compile in a different way every time.

Best way to handle this is probably to replace HashSet with TreeSet and making the relevant methods return OrderedSet<> instead of Set<>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions