< prev index next >

src/java.base/share/classes/jdk/internal/icu/text/BidiBase.java

Print this page
rev 57619 : imported patch 8174270

*** 1,7 **** /* ! * Copyright (c) 2009, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2009, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 44,64 **** * Not all combinations would be supported, and probably not all do make sense. * This would need to document which ones are supported and what are the * fallbacks for unsupported combinations. */ ! package sun.text.bidi; import java.lang.reflect.Array; import java.text.AttributedCharacterIterator; import java.text.Bidi; import java.util.Arrays; import jdk.internal.access.JavaAWTFontAccess; import jdk.internal.access.SharedSecrets; ! import sun.text.normalizer.UBiDiProps; ! import sun.text.normalizer.UCharacter; ! import sun.text.normalizer.UTF16; /** * * <h2>Bidi algorithm for ICU</h2> * --- 44,63 ---- * Not all combinations would be supported, and probably not all do make sense. * This would need to document which ones are supported and what are the * fallbacks for unsupported combinations. */ ! package jdk.internal.icu.text; import java.lang.reflect.Array; import java.text.AttributedCharacterIterator; import java.text.Bidi; import java.util.Arrays; import jdk.internal.access.JavaAWTFontAccess; import jdk.internal.access.SharedSecrets; ! import jdk.internal.icu.lang.UCharacter; ! import jdk.internal.icu.impl.UBiDiProps; /** * * <h2>Bidi algorithm for ICU</h2> *
*** 530,539 **** --- 529,539 ---- * * If there are no White Space types in the paragraph, then * (L1) is not necessary in adjustWSLevels(). */ + // Original filename in ICU4J: Bidi.java public class BidiBase { static class Point { int pos; /* position in text */ int flag; /* flag for LRM/RLM, before/after */
< prev index next >