< prev index next >
test/jdk/java/lang/Character/UnicodeCasingTest.java
Print this page
rev 54996 : 8221431: Support for Unicode 12.1
Reviewed-by:
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2018, 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. Oracle designates this
@@ -23,12 +23,13 @@
* questions.
*/
/*
* @test
- * @bug 4397357 6565620 6959267 8032446 8072600
+ * @bug 4397357 6565620 6959267 8032446 8072600 8221431
* @summary Confirm normal case mappings are handled correctly.
+ * @library /lib/testlibrary/java/lang
* @run main/timeout=200 UnicodeCasingTest
*/
import java.io.BufferedReader;
import java.io.File;
@@ -58,12 +59,11 @@
Locale defaultLocale = Locale.getDefault();
BufferedReader in = null;
try {
- File file = new File(System.getProperty("test.src", "."),
- "UnicodeData.txt");
+ File file = UCDFiles.UNICODE_DATA.toFile();
int locale_num = locales.size();
for (int l = 0; l < locale_num; l++) {
Locale locale = locales.get(l);
Locale.setDefault(locale);
< prev index next >