Skip to content
This repository was archived by the owner on Nov 5, 2019. It is now read-only.
This repository was archived by the owner on Nov 5, 2019. It is now read-only.

Include checksum in generated class names (to resolve #51) #53

@cowtowncoder

Description

@cowtowncoder

(see #51 for background)

As things are, generated classes use simple naming scheme, which works ok with one notable exception: when properties are included/excluded with annotations, resulting accessor classes will differ.
But since it is not possible re-load classes, the initial definition remains, and may cause exception (or worse, potentially wrong output or binding).

One simple thing to do is to calculate checksum on bytecode and attach that as part of classname. This should result in different class name if actual contents change.

If even this fails we may need to consider use of randomized id instead; but let's try this first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions