Migration How-ToThis how-to lists the migration steps for moving between versions of Apache Commons Net. Apache Commons Net 3.9.0This version requires Java 8 or above. Apache Commons Net 3.7 to 3.8.0This version requires Java 7 or above. Apache Commons Net 3.5 to 3.6This version requires Java 6 or above. Apache Commons Net 3.x to Commons Net 3.5Version 3.5 is binary compatible with previous 3.x versions and 2.0. There should be no changes required to existing binary code. Version 3.5 is source compatible with 3.4. However, version 3.4 is not source compatible with 3.3. The interface NtpV3Packet has been updated to add 3 new methods. Adding methods to an interface does not affect binary compatibility The clirr report shows which methods have been added. (note that the report does not distinguish between source and binary incompatibility) Code that uses the interface will need to be updated and recompiled. However code that uses the implementation class NtpV3Impl will continue to work as before. Apache Commons Net 2.x to Commons Net 3.0Version 3.0 is binary compatible with version 2.0. There should be no changes required to existing binary code. However, version 3.0 is not source compatible with 2.0.
Several obsolete/unused constants have been removed.
Also, some throws clauses have been removed from methods which did not actually throw them.
Apache Commons Net 1.4.x to Commons Net 2.0Version 2.0 requires a JDK 5.0+ runtime. It has also been tested on JDK 6.0. There should be no changes required to existing client code. NetComponents 1.3.8 to Commons Net 1.xThis version is a drop in replacement for NetComponents. Only package names have changed.
|