< prev index next >
test/jdk/java/lang/Character/CheckProp.java
Print this page
rev 54996 : 8221431: Support for Unicode 12.1
Reviewed-by:
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2019, 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.
@@ -22,23 +22,24 @@
*/
/**
* @test
- * @bug 7037261 7070436 7198195 8032446 8072600
+ * @bug 7037261 7070436 7198195 8032446 8072600 8221431
* @summary Check j.l.Character.isLowerCase/isUppercase/isAlphabetic/isIdeographic
+ * @library /lib/testlibrary/java/lang
*/
import java.util.regex.*;
import java.util.*;
import java.io.*;
import static java.lang.Character.*;
public class CheckProp {
public static void main(String[] args) throws IOException {
- File fPropList = new File(System.getProperty("test.src", "."), "PropList.txt");
+ File fPropList = UCDFiles.PROP_LIST.toFile();
int i, j;
BufferedReader sbfr = new BufferedReader(new FileReader(fPropList));
Matcher m = Pattern.compile("(\\p{XDigit}+)(?:\\.{2}(\\p{XDigit}+))?\\s*;\\s+(\\w+)\\s+#.*").matcher("");
Map<String, ArrayList<Integer>> propMap = new LinkedHashMap<>();
< prev index next >