On Fri, 13 May 2022 17:05:43 GMT, Naoto Sato <na...@openjdk.org> wrote:

> Applied required casts for the upcoming warning. Verified by cherry-picking 
> Adam's patch.

make/jdk/src/classes/build/tools/generatebreakiteratordata/RuleBasedBreakIteratorBuilder.java
 line 1278:

> 1276:             state[numCategories] |= (short) END_STATE_FLAG;
> 1277:             if (sawEarlyBreak) {
> 1278:                 state[numCategories] |= LOOKAHEAD_STATE_FLAG;

Does this need a cast as well? and also other cases, e.g. line 1019: 
state[numCategories] = DONT_LOOP_FLAG;?

-------------

PR: https://git.openjdk.java.net/jdk/pull/8706

Reply via email to