home *** CD-ROM | disk | FTP | other *** search
/ Java 1.2 How-To / JavaHowTo.iso / 3rdParty / jbuilder / unsupported / JDK1.2beta3 / SOURCE / CHANGES next >
Encoding:
Text File  |  1998-03-20  |  7.4 KB  |  209 lines

  1.  
  2.                             CHANGES
  3.  
  4.                     Java(tm) Development Kit
  5.                          JDK(tm) 1.2 Beta 3
  6.                          
  7. -----------------------------------------------------------------------
  8. CONTENTS
  9. -----------------------------------------------------------------------
  10. This document lists the changes between versions 1.1 and 1.2 of the 
  11. Java platform.  It is divided into these sections:
  12.  
  13.     - Changes from JDK 1.2 Beta 2 to JDK 1.2 Beta 3
  14.     - Changes from JDK 1.1 to JDK 1.2 Beta 2
  15.  
  16.  
  17.     -------------------------------------------------------------
  18.     NOTE: To find the JDK version number, execute:
  19.           java -version
  20.     -------------------------------------------------------------
  21.     NOTE: A list of important known bugs is at 
  22.           http://java.sun.com/jdc/bugParade/index.html
  23.     -------------------------------------------------------------
  24.     NOTE: Information on version compatibility, including 
  25.           a comprehensive list of incompatibilities between 
  26.           versions, is at 
  27.           http://java.sun.com/products/jdk/1.2/compatibility.html
  28.     -------------------------------------------------------------
  29.  
  30. =======================================================================
  31. Changes from JDK 1.2 Beta 2 to JDK 1.2 Beta 3
  32. -----------------------------------------------------------------------
  33.  
  34. These are the important changes in JDK 1.2 Beta 3.
  35.  
  36. __________________________
  37. Collection Classes Changes
  38.  
  39. The Collection Classes have undergone numerous design changes. A
  40. summary is available at
  41.  
  42.     http://java/sun.com/products/jdk/1.2/docs/guide/collections/changes2.html
  43.  
  44. ________________________
  45. Java Accessibility (JFC)
  46.  
  47. This release reorganizes package java.awt.accessibility to make it more
  48. flexible and open. Most of the features previously defined by interface
  49. Accessible are now defined by new interfaces AccesibleAction,
  50. AccessibleComponent, AccessibleSelection, and AccessibleText.
  51.  
  52. _______________________________
  53. Serialization Protocol Versions
  54.  
  55. Serialization output streams default to a new format that is not
  56. compatible with the old format. Backward compatibility is supported by
  57. java.io.ObjectOutputStream.useProtocolVersion(). To indicate the old
  58. format, use java.io.ObjectStreamConstants.PROTOCOL_VERSION_1. For the
  59. new format, use java.io.ObjectStreamConstants.PROTOCOL_VERSION_2.
  60.  
  61. Input streams automatically detect and use the correct format.
  62.  
  63. ___________________
  64. Collections Classes
  65.  
  66. The classes java.util.ArrayMap and java.util.ArraySet have been
  67. removed. These classes were intended as alternatives to
  68. java.util.HashMap and java.util.HashSet, optimized for very small
  69. collections. ArrayMap and ArraySet proved to offer negligible
  70. benefits.
  71.  
  72. The method java.util.Map.entries() now returns a java.util.Set instead
  73. of a java.util.Collection. This guarantees that two maps are equal if
  74. and only if their contents are equal. [Bug 4109773]
  75.  
  76. _______________________________________
  77. Java Virtual Machine Debugger Interface
  78.  
  79. A new set of class introspection functions were added. Global objects
  80. are now managed through a set of allocation callbacks.
  81.  
  82. ____________________
  83. Extensions Framework
  84.  
  85. The Extensions Framework is still in a preliminary form, and is not
  86. enabled by default. To simplify testing of Extensions software, a -new
  87. option has been temporarily added to the launcher too. See the README.
  88.  
  89. ______________________
  90. Input Method Framework
  91.  
  92. The Input Method Framework now works with Swing controls.
  93.  
  94. Additional features were added to the Input Method Framework. These
  95. include new methods in java.awt.im.InputContext and support for
  96. Internet-Intranet Input Method Protocol (IIIMP). The IIIMP adapter
  97. uses the Extensions Framework, which is currently not enabled by 
  98. default. See the README for this release.
  99.  
  100. _________________
  101. Reference Objects
  102.  
  103. The class java.lang.ref.CachedReference has changed name to 
  104. java.lang.ref.SoftReference.
  105.  
  106. _____________________
  107. No Debugging Launcher
  108.  
  109. Debugging no longer requires a special non-optimized launcher.  For
  110. that reason, the java_g tool has been removed from the JDK. Use the
  111. java tool instead.
  112.  
  113. ____
  114. JDBC
  115.  
  116. JDBC was upgraded from JDBC 1.2 to a preliminary version of JDBC 2.0.
  117.  
  118. _______
  119. Java 2D
  120.  
  121. In the Beta 3 release, java.awt.font.StyledString.getAttributes(int) 
  122. has been removed.  The method getAttributesAt(int) of the StyledString 
  123. class should be used in its place.
  124.  
  125. _____________________
  126. Security Enhancements
  127.  
  128. The launcher tool (java) now includes a -usepolicy option, for
  129. specifying a security policy on the command line. This makes it
  130. unnecessary to invoke sun.misc.Launcher and set various properties in
  131. order to specify a security policy.
  132.  
  133. By default, a program started by the java launcher has no security
  134. policy, and thus no security restrictions.
  135.  
  136.  
  137.  
  138. =======================================================================
  139. Changes from JDK 1.1 to JDK 1.2 Beta 2
  140. -----------------------------------------------------------------------
  141.  
  142. Starting with JDK 1.1_Final, the JDK 1.1 API and feature set was
  143. frozen. At that time JDK 1.2 became the focus for new development. Any
  144. further releases of JDK 1.1 will be Maintenance Releases. This section
  145. describes JDK 1.2 Beta 2, the first public release of JDK 1.2.
  146.  
  147. The JDK 1.2 API offers the new functionality and enhancements in the 
  148. following areas:
  149.  
  150.       - Security Enhancements
  151.          - Policy-based Access Control
  152.          - Certificate Interfaces
  153.          - x.509 v3 Implementation
  154.          - The keytool, jar, jarsigner, and policytool tools
  155.       - Java Foundation Classes (JFC)
  156.          - Java 2D
  157.          - UI Components (Swing Package) 
  158.          - Accessibility
  159.          - Drag & Drop
  160.          - Application Services
  161.       - JavaBeans(tm) Enhancements 
  162.          - Interaction with Applet Semantics
  163.          - Better Design-Time Support
  164.          - Beans Runtime Containment and Services Protocol
  165.       - Collections 
  166.       - Version Identification
  167.       - RMI Enhancements  
  168.          - Remote Object Activation
  169.          - Custom Socket Types
  170.          - Minor API Enhancements
  171.       - Serialization Enhancements
  172.          - Persistent Field API 
  173.       - Reference Objects (including weak references) 
  174.       - Audio Enhancements
  175.          - Java Sound
  176.          - getNewAudioClip Method
  177.       - Performance Enhancements 
  178.          - Solaris Native Thread Support
  179.          - Memory Compression for Loaded Classes
  180.          - Faster Memory Allocation and Garbage Collection
  181.          - Monitor Speedups
  182.          - Native Library JNI Port
  183.          - JIT Compilers
  184.       - Extensions Framework
  185.       - Java IDL
  186.       - Input Method Framework
  187.       - JAR Enhancements
  188.       - JNI Enhancements
  189.       - Reflection Enhancements
  190.       - JDBC-ODBC Bridge Enhancements
  191.       - Servlet (a standard extension)
  192.       - Javadoc Doclets (a tool)
  193.       - Java Virtual Machine Debug Interface
  194.  
  195. You can find documentation for these features on-line at 
  196.  
  197.    http://java.sun.com/products/jdk/1.2/docs/
  198.  
  199. or in the JDK documentation bundle, available in as a separate 
  200. download from http://java.sun.com/products/jdk/1.2/
  201.  
  202. -----------------------------------------------------------------------
  203. The JDK is a product of Sun Microsystems, Inc.  
  204.  
  205. Copyright ⌐ 1997, 1998 Sun Microsystems, Inc.
  206. 901 San Antonio Road, Palo Alto, California 94303 USA.
  207. All rights reserved.
  208.     
  209.