Skip to content

Non-deterministic class files #22181

Open
@aalleexxeeii

Description

@aalleexxeeii

Compiler version

3.3.3

Description

When large source files are compiled, the compiler can generate class files which are binary different. The difference is usually in the order of entries in the constant pool or it may be the ordering of methods. Is there a compiler option to make output deterministic? Some industrial standards require checking binary consistency of generated artifacts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:compilation-outputIssues tied with the output files of compilation (.class/.tasty files)itype:bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions