home *** CD-ROM | disk | FTP | other *** search
-
- CHANGES
-
- Java(tm) Development Kit
- JDK(tm) 1.2 Beta 3
-
- -----------------------------------------------------------------------
- CONTENTS
- -----------------------------------------------------------------------
- This document lists the changes between versions 1.1 and 1.2 of the
- Java platform. It is divided into these sections:
-
- - Changes from JDK 1.2 Beta 2 to JDK 1.2 Beta 3
- - Changes from JDK 1.1 to JDK 1.2 Beta 2
-
-
- -------------------------------------------------------------
- NOTE: To find the JDK version number, execute:
- java -version
- -------------------------------------------------------------
- NOTE: A list of important known bugs is at
- http://java.sun.com/jdc/bugParade/index.html
- -------------------------------------------------------------
- NOTE: Information on version compatibility, including
- a comprehensive list of incompatibilities between
- versions, is at
- http://java.sun.com/products/jdk/1.2/compatibility.html
- -------------------------------------------------------------
-
- =======================================================================
- Changes from JDK 1.2 Beta 2 to JDK 1.2 Beta 3
- -----------------------------------------------------------------------
-
- These are the important changes in JDK 1.2 Beta 3.
-
- __________________________
- Collection Classes Changes
-
- The Collection Classes have undergone numerous design changes. A
- summary is available at
-
- http://java/sun.com/products/jdk/1.2/docs/guide/collections/changes2.html
-
- ________________________
- Java Accessibility (JFC)
-
- This release reorganizes package java.awt.accessibility to make it more
- flexible and open. Most of the features previously defined by interface
- Accessible are now defined by new interfaces AccesibleAction,
- AccessibleComponent, AccessibleSelection, and AccessibleText.
-
- _______________________________
- Serialization Protocol Versions
-
- Serialization output streams default to a new format that is not
- compatible with the old format. Backward compatibility is supported by
- java.io.ObjectOutputStream.useProtocolVersion(). To indicate the old
- format, use java.io.ObjectStreamConstants.PROTOCOL_VERSION_1. For the
- new format, use java.io.ObjectStreamConstants.PROTOCOL_VERSION_2.
-
- Input streams automatically detect and use the correct format.
-
- ___________________
- Collections Classes
-
- The classes java.util.ArrayMap and java.util.ArraySet have been
- removed. These classes were intended as alternatives to
- java.util.HashMap and java.util.HashSet, optimized for very small
- collections. ArrayMap and ArraySet proved to offer negligible
- benefits.
-
- The method java.util.Map.entries() now returns a java.util.Set instead
- of a java.util.Collection. This guarantees that two maps are equal if
- and only if their contents are equal. [Bug 4109773]
-
- _______________________________________
- Java Virtual Machine Debugger Interface
-
- A new set of class introspection functions were added. Global objects
- are now managed through a set of allocation callbacks.
-
- ____________________
- Extensions Framework
-
- The Extensions Framework is still in a preliminary form, and is not
- enabled by default. To simplify testing of Extensions software, a -new
- option has been temporarily added to the launcher too. See the README.
-
- ______________________
- Input Method Framework
-
- The Input Method Framework now works with Swing controls.
-
- Additional features were added to the Input Method Framework. These
- include new methods in java.awt.im.InputContext and support for
- Internet-Intranet Input Method Protocol (IIIMP). The IIIMP adapter
- uses the Extensions Framework, which is currently not enabled by
- default. See the README for this release.
-
- _________________
- Reference Objects
-
- The class java.lang.ref.CachedReference has changed name to
- java.lang.ref.SoftReference.
-
- _____________________
- No Debugging Launcher
-
- Debugging no longer requires a special non-optimized launcher. For
- that reason, the java_g tool has been removed from the JDK. Use the
- java tool instead.
-
- ____
- JDBC
-
- JDBC was upgraded from JDBC 1.2 to a preliminary version of JDBC 2.0.
-
- _______
- Java 2D
-
- In the Beta 3 release, java.awt.font.StyledString.getAttributes(int)
- has been removed. The method getAttributesAt(int) of the StyledString
- class should be used in its place.
-
- _____________________
- Security Enhancements
-
- The launcher tool (java) now includes a -usepolicy option, for
- specifying a security policy on the command line. This makes it
- unnecessary to invoke sun.misc.Launcher and set various properties in
- order to specify a security policy.
-
- By default, a program started by the java launcher has no security
- policy, and thus no security restrictions.
-
-
-
- =======================================================================
- Changes from JDK 1.1 to JDK 1.2 Beta 2
- -----------------------------------------------------------------------
-
- Starting with JDK 1.1_Final, the JDK 1.1 API and feature set was
- frozen. At that time JDK 1.2 became the focus for new development. Any
- further releases of JDK 1.1 will be Maintenance Releases. This section
- describes JDK 1.2 Beta 2, the first public release of JDK 1.2.
-
- The JDK 1.2 API offers the new functionality and enhancements in the
- following areas:
-
- - Security Enhancements
- - Policy-based Access Control
- - Certificate Interfaces
- - x.509 v3 Implementation
- - The keytool, jar, jarsigner, and policytool tools
- - Java Foundation Classes (JFC)
- - Java 2D
- - UI Components (Swing Package)
- - Accessibility
- - Drag & Drop
- - Application Services
- - JavaBeans(tm) Enhancements
- - Interaction with Applet Semantics
- - Better Design-Time Support
- - Beans Runtime Containment and Services Protocol
- - Collections
- - Version Identification
- - RMI Enhancements
- - Remote Object Activation
- - Custom Socket Types
- - Minor API Enhancements
- - Serialization Enhancements
- - Persistent Field API
- - Reference Objects (including weak references)
- - Audio Enhancements
- - Java Sound
- - getNewAudioClip Method
- - Performance Enhancements
- - Solaris Native Thread Support
- - Memory Compression for Loaded Classes
- - Faster Memory Allocation and Garbage Collection
- - Monitor Speedups
- - Native Library JNI Port
- - JIT Compilers
- - Extensions Framework
- - Java IDL
- - Input Method Framework
- - JAR Enhancements
- - JNI Enhancements
- - Reflection Enhancements
- - JDBC-ODBC Bridge Enhancements
- - Servlet (a standard extension)
- - Javadoc Doclets (a tool)
- - Java Virtual Machine Debug Interface
-
- You can find documentation for these features on-line at
-
- http://java.sun.com/products/jdk/1.2/docs/
-
- or in the JDK documentation bundle, available in as a separate
- download from http://java.sun.com/products/jdk/1.2/
-
- -----------------------------------------------------------------------
- The JDK is a product of Sun Microsystems, Inc.
-
- Copyright ⌐ 1997, 1998 Sun Microsystems, Inc.
- 901 San Antonio Road, Palo Alto, California 94303 USA.
- All rights reserved.
-
-