Skip to content

Fallback to interpreter fails when using a reader to compile #592

@emukidid

Description

@emukidid

When Context.compileImpl is called with a Reader rather than a String to supply the source, if the compilation fails due to ClassFileFormatException and we try to use the interpreter for a second attempt, the second parse on this line will fail as the Reader would've already run through all available data.

One possible workaround is to comment out this line so that we always have the source in the String rather than the Reader.

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