Skip to content

Retire ToolUnicodeProperties & UCD.java #639

Open
@macchiati

Description

@macchiati

There are currently two ways of parsing the property files, ToolUnicodeProperties.java/UCD.java (very old), and the more modern IndexUnicodeProperties.java. I've long had on my task list replacing the old with new; the new is more extensible, and much easier to update for new properties and property values.

Here is a draft of the steps to do that:

  1. Analyze the differences between ToolUnicodeProperties.java and IndexUnicodeProperties.java to see if the latter can simply replace the former.
  2. If the differences would affect the results (tests, file generation), then write a shim for IndexUnicodeProperties.java where necessary.
  3. Find all the cases where internal code is calling UCD.java directly instead of using ToolUnicodeProperties.java.
  4. Replace those by calls to ShimIndexUnicodeProperties.java, and make sure everything still works.
  5. Replace calls to ToolUnicodeProperties by ShimIndexUnicodeProperties.java
  6. Remove UCD.java, UTC_Types.java, UCD_Names.java, ToolUnicodeProperties.java, and code only used by them.

Metadata

Metadata

Assignees

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