Skip to content

Fails to build from source with Java 17 because of illegal escape character #10

Description

@apoleon

It looks like the code in

utils-parent/utils/src/main/java/de/fau/cs/osr/utils/XmlGrammar.java

line 41

fails with Java 17 because not all unicode slashes are escaped. If I change the code from

"|[\uD800\\uDC00-\uDB7F\uDFFF]" + // #x10000-#xEFFFF

to

"|[\\uD800\\uDC00-\\uDB7F\\uDFFF]" + // #x10000-#xEFFFF

it works for me

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