LANG-946: ConstantInitializerTest fails when building with IBM JDK 7

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563388 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2014-02-01 10:46:28 +00:00
parent 954280893c
commit 48652f5941
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@
<body> <body>
<release version="3.3" date="TBA" description="Bugfix and Feature release"> <release version="3.3" date="TBA" description="Bugfix and Feature release">
<action issue="LANG-946" type="fix" dev="britter">ConstantInitializerTest fails when building with IBM JDK 7</action>
<action issue="LANG-962" type="add" dev="ggregory">Add SerializationUtils.roundtrip(T extends Serializable) to serialize then deserialize</action> <action issue="LANG-962" type="add" dev="ggregory">Add SerializationUtils.roundtrip(T extends Serializable) to serialize then deserialize</action>
<action issue="LANG-961" type="update" dev="ggregory">org.apache.commons.lang3.reflect.FieldUtils.removeFinalModifier(Field) does not clean up after itself</action> <action issue="LANG-961" type="update" dev="ggregory">org.apache.commons.lang3.reflect.FieldUtils.removeFinalModifier(Field) does not clean up after itself</action>
<action issue="LANG-958" type="update" dev="chas">FastDateParser javadoc incorrectly states that SimpleDateFormat is used internally</action> <action issue="LANG-958" type="update" dev="chas">FastDateParser javadoc incorrectly states that SimpleDateFormat is used internally</action>

View File

@ -117,7 +117,7 @@ public void testEqualsWithOtherObjects() {
public void testToString() { public void testToString() {
final String s = init.toString(); final String s = init.toString();
final Pattern pattern = Pattern final Pattern pattern = Pattern
.compile("ConstantInitializer@\\d+ \\[ object = " + VALUE .compile("ConstantInitializer@-?\\d+ \\[ object = " + VALUE
+ " \\]"); + " \\]");
assertTrue("Wrong string: " + s, pattern.matcher(s).matches()); assertTrue("Wrong string: " + s, pattern.matcher(s).matches());
} }