< prev index next >
src/java.base/share/classes/jdk/internal/icu/impl/UBiDiProps.java
Print this page
rev 57619 : [mq]: 8174270
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 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
@@ -39,11 +39,14 @@
*
* Low-level Unicode bidi/shaping properties access.
* Java port of ubidi_props.h/.c.
*/
-package sun.text.normalizer;
+package jdk.internal.icu.impl;
+
+import jdk.internal.icu.lang.UCharacter;
+import jdk.internal.icu.util.VersionInfo;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.MissingResourceException;
@@ -194,11 +197,15 @@
private byte jgArray2[];
private Trie2_16 trie;
// data format constants ----------------------------------------------- ***
- private static final String DATA_FILE_NAME = "/sun/text/resources/ubidi.icu";
+ @SuppressWarnings("deprecation")
+ private static final String DATA_FILE_NAME =
+ "/jdk/internal/icu/impl/data/icudt" +
+ VersionInfo.ICU_DATA_VERSION_PATH +
+ "/ubidi.icu";
/* format "BiDi" */
private static final int FMT=0x42694469;
/* indexes into indexes[] */
< prev index next >