Open
Description
When I run the unicodetools "CheckProperties" I see an exception getting thrown and printed, but the program continues and exits without a failure code.
Is this something to worry about?
Comment from KenW: The only difference I am seeing between 15.0 and 15.1 is that the flag of Turkey ended up described as "flag: Türkiye"
Thoughts from Markus:
- If there is a problem, then we should fix it.
- If there is no problem, then it should not throw an exception.
- CheckProperties seems to swallow the exception, and finishes with exit code 0. This could hide real problems.
RGI_Emoji_Flag_Sequence 15.1.0.0
com.ibm.icu.util.ICUException: RGI_Emoji_Flag_Sequence( from: /usr/local/google/home/mscherer/unitools/mine/src/unicodetools/data/emoji/15.1/emoji-sequences.txt)
at org.unicode.props.IndexUnicodeProperties.load(IndexUnicodeProperties.java:446)
at org.unicode.propstest.CheckProperties.compare(CheckProperties.java:662)
at org.unicode.propstest.CheckProperties.main(CheckProperties.java:219)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.unicode.props.UnicodePropertyException: Key already present in Map: Basic_Emoji, old: 0000-2319=No
231A-231B=Yes
231C-23E8=No
23E9-23EC=Yes
...
1F6F0,FE0F=Yes
1F6F3,FE0F=Yes
, new:
at org.unicode.props.PropertyUtilities.putNew(PropertyUtilities.java:33)
at org.unicode.props.PropertyParsingInfo.parseSourceFile(PropertyParsingInfo.java:465)
at org.unicode.props.IndexUnicodeProperties.load(IndexUnicodeProperties.java:443)
... 8 more
Metadata
Metadata
Assignees
Labels
No labels