Skip to content

Never use ICU properties #1074

@eggrobin

Description

@eggrobin

See #1072.

CollatorEquivalencesNew and GenerateNormalizeForMatch both have this:

    static UnicodeSet.XSymbolTable NO_PROPS =
            new UnicodeSet.XSymbolTable() {
                @Override
                public boolean applyPropertyAlias(
                        String propertyName, String propertyValue, UnicodeSet result) {
                    throw new IllegalArgumentException(
                            "Don't use any ICU Unicode Properties! "
                                    + propertyName
                                    + "="
                                    + propertyValue);
                }
                ;
            };

    static {
        UnicodeSet.setDefaultXSymbolTable(NO_PROPS);
    }

We should have something equivalent to that everywhere.

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