RFR: 8291660: Grapheme support in BreakIterator
Stuart Marks
smarks at openjdk.org
Thu Aug 25 03:46:40 UTC 2022
On Tue, 23 Aug 2022 22:44:13 GMT, Naoto Sato <naoto at openjdk.org> wrote:
> This is to enhance the character break analysis in `java.text.BreakIterator` to conform to the extended grapheme cluster boundaries defined in https://www.unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries. A corresponding CSR has also been drafted, as there will be behavioral changes with this modification.
test/jdk/java/util/regex/whitebox/GraphemeTest.java line 30:
> 28: * @library /lib/testlibrary/java/lang
> 29: * @compile --add-exports java.base/jdk.internal.util.regex=ALL-UNNAMED GraphemeTest.java
> 30: * @run testng/othervm --add-exports java.base/jdk.internal.util.regex=ALL-UNNAMED --add-opens java.base/jdk.internal.util.regex=ALL-UNNAMED GraphemeTest
Can you use the `@modules` directive to export+open the internal module to the test?
-------------
PR: https://git.openjdk.org/jdk/pull/9991
More information about the core-libs-dev
mailing list