Author: simonetripodi Date: Sat Apr 2 23:45:39 2011 New Revision: 1088184 URL: http://svn.apache.org/viewvc?rev=1088184&view=rev Log: added latest changes for 0.5 release
Modified: commons/proper/discovery/trunk/RELEASE-NOTES.txt Modified: commons/proper/discovery/trunk/RELEASE-NOTES.txt URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/RELEASE-NOTES.txt?rev=1088184&r1=1088183&r2=1088184&view=diff ============================================================================== --- commons/proper/discovery/trunk/RELEASE-NOTES.txt (original) +++ commons/proper/discovery/trunk/RELEASE-NOTES.txt Sat Apr 2 23:45:39 2011 @@ -2,102 +2,39 @@ $Id$ Commons Discovery Package - Version 0.4 + Version 0.5 Release Notes INTRODUCTION ============ -This is a minor bugfix and maintenance release. A few small features have been added. +This is an APIs update and maintenance release. New projects are encouraged to use this release of discovery. -The previous release of Commons Discovery was 0.2. The 0.3 release failed to happen, -though an SVN tag was created. Thus a version number of 0.4 is being used for this -release. - IMPORTANT NOTES =============== -* The commons project has migrated to the Subversion version control system - (previously, CVS was used). Please see the commons - website for details (http://commons.apache.org). - -* This release is done under the Apache Public License version 2.0; the - previous release was under the APL 1.1. All files have been updated with - the new license terms (including many files formerly missing license text). + +BREAKING CHANGES: + + * The minimum JDK requirement is now JDK 1.5. The provided binaries will not + work on lower JDKs. The source has been updated to leverage Generics and + other JDK 1.5 features where possible, and requires JDK 1.5 to compile. Dependencies ============= -Commons Discovery depends on Commons Logging. It is built against version 1.0.4. +Commons Discovery depends on Commons Logging. It is built against version 1.1.1. NEW FEATURES ============= -* maven build process improved -* documentation moved from raw html format to xdoc format - (best-practices.html, adc-guidelines.html) - -FILES CHANGED -============= -* tools/ManagedProperties.java - --> fix NullPointerException in setProperty method. - --> added logging facilities to the class; debug output can now be - enabled if desired. - --> Hide SecurityException in getParent(ClassLoader) - --> Uses new JDKTools.getSystemProperty(String) - -* log/SimpleLog.java - --> if exception occurs on System.getProperty, use a default instead - of throwing an exception. - -* ResourceNameIterator.java - --> javadoc improvements only - -* resource/names/DiscoverNamesInManagedProperties.java - resource/names/DiscoverNamesInFile.java - -->Generalize qualification of resource/file-names by prefix/suffix; - add new constructors that take prefix and suffix strings - for the resource to be located. - -* resource/names/DiscoverServiceNames.java - -->Generalize qualification of resource/file-names by prefix/suffix. - -* resource/ResourceDiscoverImpl.java - -->Defer creation of ClassLoaders until we need them, and create a - useful default [non-null]. - -* resource/DiscoverResources: - --> fix to compile under JDK1.5 (don't use reserved word "enum") - -* jdk/JDKHooks: - --> New getSystemProperty method added. - -* jdk/JDK12Hooks - --> AXIS-1227: - Added a try/catch for RuntimeExceptions in JDK12Hooks to avoid - NullPointerExceptions from JBoss' UnifiedClassLoader. Reloading - the Axis webapp after a redepoy of service classes then allows - things to work normally. - --> made class public (formerly, was package-scope only) - In newer JVM/compilers, runtime complains when we try to invoke - setLog on a non-public class. - --> AXIS-2145: - Checks that it has the security permission to create a new - classloader. - --> New getSystemProperty method added. - -* jdk/JDK11Hooks - --> made class public (formerly, was package-scope only) - In newer JVM/compilers, runtime complains when we try to invoke - setLog on a non-public class. - --> New getSystemProperty method added. +* Discovery APIs use Java5 Generics. BUGS FROM PREVIOUS RELEASE ========================= JIRA Issues Addressed --------------------- -* AXIS-1227 (https://issues.apache.org/jira/browse/AXIS-1227) -* AXIS-2145 (https://issues.apache.org/jira/browse/AXIS-2145) +* DISCOVERY-12 (https://issues.apache.org/jira/browse/DISCOVERY-12) DEPRECATIONS