ICU-9722 Updated ICU4J version numbers except data.

X-SVN-Rev: 32799
This commit is contained in:
Yoshito Umaoka 2012-11-12 15:46:44 +00:00
parent e076e3a5de
commit 814a90985f
8 changed files with 18 additions and 20 deletions

View File

@ -2,8 +2,8 @@
#* Copyright (C) 2009-2012, International Business Machines Corporation and *
#* others. All Rights Reserved. *
#*******************************************************************************
api.report.version = 50
api.report.prev.version = 49
release.file.ver = 50_1
api.doc.version = 50
api.report.version = 51m1
api.report.prev.version = 50
release.file.ver = 51m1
api.doc.version = 51 Milestone 1

View File

@ -2,6 +2,6 @@
#* Copyright (C) 2010-2012, International Business Machines Corporation and *
#* others. All Rights Reserved. *
#*******************************************************************************
icu4j.plugin.impl.version.string=50.1.0
icu4j.plugin.impl.version.string=51.0.1
copyright.eclipse=Licensed Materials - Property of IBM \n (C) Copyright IBM Corp. 2000, 2012. All Rights Reserved. \n IBM is a registered trademark of IBM Corp.
icu4j.data.version.number=50

View File

@ -502,7 +502,7 @@ public final class VersionInfo implements Comparable<VersionInfo>
UNICODE_6_1 = getInstance(6, 1, 0, 0);
UNICODE_6_2 = getInstance(6, 2, 0, 0);
ICU_VERSION = getInstance(50, 1, 0, 0);
ICU_VERSION = getInstance(51, 0, 1, 0);
ICU_DATA_VERSION = getInstance(50, 1, 0, 0);
UNICODE_VERSION = UNICODE_6_2;

View File

@ -4,8 +4,8 @@
#*******************************************************************************
# Version numbers, etc.
icu4j.spec.version = 50
icu4j.impl.version = 50.1
icu4j.spec.version = 51
icu4j.impl.version = 51.0.1
icu4j.data.version = 50
current.year = 2012
default.exec.env = J2SE-1.5

View File

@ -1790,7 +1790,7 @@ public class SearchTest extends TestFmwk {
}
public void TestSupplementary() {
if (isICUVersionBefore(51, 0, 1)) { // ticket#8080
if (isICUVersionBefore(51, 0, 2)) { // ticket#8080
return;
}
int count = 0;
@ -1803,7 +1803,7 @@ public class SearchTest extends TestFmwk {
}
public void TestSupplementaryCanonical() {
if (isICUVersionBefore(51, 0, 1)) { // ticket#8080
if (isICUVersionBefore(51, 0, 2)) { // ticket#8080
return;
}
int count = 0;

View File

@ -278,7 +278,7 @@ public class ChineseTest extends CalendarTest {
Date e = fmt.parse(s);
if (e.equals(DATA[i])) {
logln("Ok: " + DATA[i] + " -> " + s + " -> " + e);
} else if (isICUVersionBefore(51, 0, 1)) { // until ticket #9043 fixes the ambiguous era problem
} else if (isICUVersionBefore(51, 0, 2)) { // until ticket #9043 fixes the ambiguous era problem
logln("Ambiguous parse fails: " + DATA[i] + " -> " + s + " -> " + e);
} else {
errln("FAIL: " + DATA[i] + " -> " + s + " -> " + e);

View File

@ -74,16 +74,14 @@ public class RoundTripTest extends TestFmwk {
static String HIRAGANA_ITERATION = "[\u309D\u309E]";
// TODO(Mark): Fix ticket #8989, transliterate U+0970.
// Remove all references to beforeICU50 & minusDevAbbBefore50.
private boolean beforeICU50;
private String minusDevAbbBefore50;
// Remove all references to minusDevAbbBefore51.
private String minusDevAbbBefore51;
@Override
public void init() {
// TODO(Mark): Fix ticket #8989 (CLDR#4375), transliterate U+0970.
// Remove this method?
beforeICU50 = isICUVersionBefore(51, 0, 1);
minusDevAbbBefore50 = beforeICU50 ? "-[\u0970]" : "";
minusDevAbbBefore51 = isICUVersionBefore(51, 0, 2) ? "-[\u0970]" : "";
}
//------------------------------------------------------------------
@ -507,7 +505,7 @@ public class RoundTripTest extends TestFmwk {
logln("Warning: TestDevanagariLatin needs to be updated to remove delete the section marked [:Age=4.1:] filter");
new Test("Latin-DEVANAGARI", 50)
.test(latinForIndic, "[[[:Devanagari:][\u094d][\u0964\u0965]" + minusDevAbbBefore50 + "]&[:Age=4.1:]]", "[\u0965\u0904]", this, new LegalIndic());
.test(latinForIndic, "[[[:Devanagari:][\u094d][\u0964\u0965]" + minusDevAbbBefore51 + "]&[:Age=4.1:]]", "[\u0965\u0904]", this, new LegalIndic());
showElapsed(start, "TestDevanagariLatin");
}
@ -892,8 +890,8 @@ public class RoundTripTest extends TestFmwk {
// start
// TODO(Mark): Fix ticket #8989, transliterate U+0970.
new Test(interIndicArray[i][0], 50)
.test("[["+interIndicArray[i][1] + minusDevAbbBefore50 + "] &[:Age=4.1:]]",
"[["+interIndicArray[i][2] + minusDevAbbBefore50 + "] &[:Age=4.1:]]",
.test("[["+interIndicArray[i][1] + minusDevAbbBefore51 + "] &[:Age=4.1:]]",
"[["+interIndicArray[i][2] + minusDevAbbBefore51 + "] &[:Age=4.1:]]",
interIndicArray[i][3],
this, new LegalIndic());
//end

View File

@ -11,7 +11,7 @@
<groupId>com.ibm.icu</groupId>
<artifactId>icu4j</artifactId>
<version>50.1</version>
<version>51-SNAPSHOT</version>
<name>ICU4J</name>
<description>