1Licensed to the Apache Software Foundation (ASF) under one or more 2contributor license agreements. See the NOTICE file distributed with 3this work for additional information regarding copyright ownership. 4The ASF licenses this file to You under the Apache License, Version 2.0 5(the "License"); you may not use this file except in compliance with 6the License. You may obtain a copy of the License at 7 8http://www.apache.org/licenses/LICENSE-2.0 9 10Unless required by applicable law or agreed to in writing, software 11distributed under the License is distributed on an "AS IS" BASIS, 12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13See the License for the specific language governing permissions and 14limitations under the License. 15 16============================================================================= 17 18 Commons Lang Package 19 Version 3.0.1 20 Release Notes 21 22 23INTRODUCTION: 24 25This document contains the release notes for the 3.0.1 version of Apache Commons Lang. 26Commons Lang is a set of utility functions and reusable components that should be of use in any 27Java environment. 28 29Lang 3.0 and onwards now targets Java 5.0, making use of features that arrived with Java 5.0 such as generics, 30variable arguments, autoboxing, concurrency and formatted output. 31 32For the advice on upgrading from 2.x to 3.x, see the following page: 33 34 https://commons.apache.org/lang/article3_0.html 35 36CHANGES IN 3.0.1 37================ 38 39 [LANG-686] Improve exception message when StringUtils.replaceEachRepeatedly detects recursion 40 [LANG-717] Specify source encoding for Ant build 41 [LANG-721] Complement ArrayUtils.addAll() variants with by-index and by-value removal methods 42 [LANG-726] Add Range<T> Range<T>.intersectionWith(Range<T>) 43 [LANG-723] Add mode and median Comparable... methods to ObjectUtils 44 [LANG-722] Add BooleanUtils.and + or varargs methods 45 [LANG-730] EnumSet -> bit vector 46 [LANG-735] Deprecate CharUtils.toCharacterObject(char) in favor of java.lang.Character.valueOf(char) 47 [LANG-737] Missing method getRawMessage for ContextedException and ContextedRuntimeException 48 49BUG FIXES IN 3.0.1 50================== 51 52 [LANG-626] SerializationUtils.clone: Fallback to context classloader if class not found in current classloader 53 [LANG-727] ToStringBuilderTest.testReflectionHierarchyArrayList fails with IBM JDK 6 54 [LANG-720] StringEscapeUtils.escapeXml(input) wrong when input contains characters in Supplementary Planes 55 [LANG-708] StringEscapeUtils.escapeEcmaScript from lang3 cuts off long unicode string 56 [LANG-734] The CHAR_ARRAY cache in CharUtils duplicates the cache in java.lang.Character 57 [LANG-738] Use internal Java's Number caches instead creating new objects 58