📄 changes
字号:
CHANGES
Java(tm) Development Kit
JDK(tm) 1.1.7A Software
CHANGES summarizes the changes between public JDK software releases for
the Java Platform 1.1. CHANGES contains the following sections:
- What Version Do I Have?
- Bug Parade
- The JDK 1.1.x Compatibility Page
- Changes in the JDK 1.1.7A Software
- Changes from JDK 1.1.6 to JDK 1.1.7
- Changes from JDK 1.1.5 to JDK 1.1.6
- Changes from JDK 1.1.4 to JDK 1.1.5
- Changes from JDK 1.1.3 to JDK 1.1.4
- Changes from JDK 1.1.2 to JDK 1.1.3
- Changes from JDK 1.1.1 to JDK 1.1.2
- Changes from JDK 1.1_Final to JDK 1.1.1_Final
- Changes from JDK 1.1beta3 to JDK 1.1_Final
- Changes from JDK 1.1beta2 to JDK 1.1beta3
- Changes from the original JDK 1.1beta to JDK 1.1beta2
=======================================================================
What Version Do I Have?
-----------------------------------------------------------------------
To determine the version of your currently installed JDK software,
execute:
java -version
=======================================================================
Bug Parade
-----------------------------------------------------------------------
This document summarizes only the most important bug fixes. For
detailed information on bug fixes and open bugs, visit Bug Parade on
the Java Developer's Connection web site. Bug Parade also allows you to
file your own bug reports, add comments to existing bug reports, and
vote for the bugs you consider most important. Bug Parade is located at
http://java.sun.com/jdc/bugParade/
=======================================================================
The JDK 1.1.x Compatibility Page
-----------------------------------------------------------------------
CHANGES does not address version compatibility issues. Real and
potential compatibility problems are addressed on the JDK 1.1
Compatibility Page at
http://java.sun.com/products/jdk/1.1/compatibility.html
The Compatibility Page is available only from the Java Software web
site.
=======================================================================
Changes in the JDK 1.1.7A Software
-----------------------------------------------------------------------
The JDK 1.1.7A software contains these changes:
________________
COPY & PASTE BUG - A bug in the native implementation of the
setContents method of java.awt.datatransfer.Clipboard prevented
copying to the clipboard on Windows 95 and Windows 98 platforms. This
problem has been fixed in the JDK 1.1.7A software. [Bug 4177171]
_______________________
CHOICEBOX SCROLLBAR BUG - A bug in the Windows JDK software prevented
choicebox scrollbars from working in modal dialog windows. This
problem is fixed in the JDK 1.1.7A software. [Bug 4178390]
_______________________
EURO SUPPORT ON WINDOWS - Support for the new Euro currency character
has been added for the Windows version of the Java Development Kit. See
the EURO SUPPORT section of the JDK README for details. The JDK README
is located in the top level of the JDK software and on-line at
http://java.sun.com/products/JDK/1.1/README
_______________________
EURO SUPPORT ON SOLARIS - The euro variants of some locale names in
the Solaris euro-support patch are not the same as the corresponding
locale names in the Solaris JDK software. A locale-mapping mechanism
has been added to the Solaris JDK software to ensure proper mapping
of patch locale names to JDK locale names. [Bug 4182062]
_______________________
EURO SUPPORT ON SOLARIS - A font properties file for support of the
euro currency symbol (encoding ISO 8859_15) has been added to the
Solaris JDK software. Note that versions of Solaris prior to 2.7 will
require a patch in order for euro support to be functional. See the
EURO SUPPORT section of the JDK 1.1.7A README file. [Bug 4181915]
=======================================================================
Changes from JDK 1.1.6 to JDK 1.1.7
-----------------------------------------------------------------------
JDK 1.1.7 is a maintenance release. The following list summarizes some
significant changes in JDK 1.1.7.
______________
VERSION NUMBER - The version number for this release is "JDK1.1.7".
________________
DEFAULT ENCODING - On Win32 systems, the default encoding for western
locales is now Cp1252 (Windows Latin-1). On Solaris, the default
encoding for western locales remains ISO8859_1.
This change in default encoding will break some programs that
unintentionally depend on features of ISO8859_1. An example of this
kind of problem is documented in the README, under "Data Transfer
Problems on Windows."
____________
EURO SUPPORT - The Solaris JDK 1.1.7 software includes support for the
new European Union currency, the euro. No APIs or existing locale
resources were changed, though a number of new locale resources were
added. A number of existing encodings were changed, and new encodings
were added. See the README for details.
_______
UNICODE - In order to support the euro currency character, Unicode
support was upgraded from 2.0.14 to 2.1.2.
_______________________
IMPROVED CLASS VERIFIER - To support additional character encodings,
the class verifier was re-engineered. The result is a smaller, faster
class verifier that will improve the performance of all programs.
_______________
CLASS LOAD HOOK - A new class load hook supports tools that add
profiling or debugging information to class file data. See the README
for details.
_______________
SOLARIS SUPPORT - JDK 1.1.7 software is supported on Solaris 2.5.1 and
2.6. JDK 1.1.7 was not tested on Solaris 2.4, which is no longer a
supported system platform.
_________
BUG FIXES - This release incorporates a large number of bug fixes.
These include a large number of fixes to the AWT classes, and a
significant number of fixes to the internationalization classes and the
JIT.
=======================================================================
Changes from JDK 1.1.5 to JDK 1.1.6
-----------------------------------------------------------------------
JDK 1.1.6 is a maintenance release. The following list summarizes some
significant changes in JDK 1.1.6.
______________
VERSION NUMBER - The version number for this release is "JDK1.1.6".
________________________________________________
PERFORMANCE AND INTERNATIONALIZATION ENHANCEMENTS - JDK 1.1.6
incorporates a significant amount of work designed to improve overall
performance and support for internationalization.
_______________________________
SERIALIZATION PROTOCOL VERSIONS
Programs based on JDK 1.1.6 can read serialization streams written in
PROTOCOL_VERSION_2. This feature ensures object stream compatibility
between JDK 1.2 and JDK 1.1. No changes were made the API, and no
source code changes are required.
Because the API is frozen, the ability to write PROTOCOL_VERSION_2
streams will not be added to JDK software version 1.1. This feature is
available in JDK software version 1.2 Beta3, or later versions.
____________
JIT COMPILER - The Win32 version of JDK 1.1.6 includes a Just In Time
bytecode compiler, or JIT. This is a production-quality version of the
JIT previously provided in the Win32 Performance Pack.
Both launcher tools (java and jre) now use the JIT by default. The java
launcher tool has a new option, -nojit, which disables the JIT. This
option was implemented for jre in a previous release.
_____________________
SOLARIS AWT EVENT BUG - In earler versions of the JDK, multithreading
programs running on Solaris might experience errors, including program
crashes, if events were dispatched to AWT controls that had already
been removed from the screen. This bug is fixed in JDK 1.1.6. [Bug
4041235]
____________________________________
DRAG GENERATES INCORRECT MOUSE_ENTER - In earlier versions of the JDK,
draging the mouse pointer across a control could generate a MOUSE_ENTER
event with incorrect coordinates. This bug is fixed in JDK 1.1.6. [Bug
4092421]
_________________________
INCORRECT UNICODE DISPLAY - In earlier versions of the JDK, the Unicode
sequence "\u301c" was not mapped to the correct character. This bug is
fixed in JDK 1.1.6. [Bug 4023097]
______________________
WINDOWS 95 MEMORY LEAK - In earlier versions of the JDK, programs
running on Windows 95 would fail to deallocate a buffer allocated by
java.awt.TextComponent.getText(). This bug is fixed in JDK 1.1.6. [Bug
4068639]
__________________________
THREAD-RELATED MEMORY LEAK - In JDK 1.1.5, information about a thread
was not discarded when the thread died. This resulted in severe memory
leaks in programs that created and destroyed large numbers of threads.
This bug is fixed in JDK 1.1.6. [Bug 4102107]
_________________________
RMI SERVER FAILS TO RETRY - In earlier versions of the JDK, an RMI
accept thread would silently die if an accept failed and no
RMIFailureHandler is installed. The correct behavior in this situation
is to attempt re-creation of the socket. This bug is fixed in JDK
1.1.6. [Bug 4096750]
____________________________________
UNNECESSARY RESOURCE BUNDLE MESSAGES - In earlier versions of the JDK,
a resource bundle search produced an error message for every
unsuccessful attempt to open a bundle. This could produce a large
number of error messages, even in a successful search. This behavior is
moderated in JDK 1.1.6. [Bug 4050902]
___________________
UNNECESSARY REPAINT - In earlier versions of the JDK, programs running
on Win32 systems with 256-color displays would sometimes repaint
unnecessarily after closing a modal dialog. This bug is fixed in JDK
1.1.6. [Bug 4088416]
________________
SLOW LIST UPDATE - In earlier versions of the JDK, programs running on
Windows 95 would update list boxes very slowly. This bug has been fixed
in JDK 1.1.6 [Bug 4079288]
___________
WINSOCK 2.0 - JDK software no longer includes Microsoft WinSock 2.0.
For more information, see the README file.
=======================================================================
Changes from JDK 1.1.4 to JDK 1.1.5
-----------------------------------------------------------------------
JDK 1.1.5 is a maintenance release. The following list summarizes some
significant changes in JDK 1.1.5.
______________
VERSION NUMBER - The version number for this release is "JDK1.1.5".
_________________
AWT SCROLLBAR BUG - In some situations, the scrollbar would not
stop scrolling on earlier versions of JDK 1.1 for Solaris-SPARC. This
problem has been fixed in JDK 1.1.5. [Bug 4048060]
______________
AWT CHOICE BUG - In earlier versions of the JDK, Choice.removeAll()
followed by Choice.addItem would result in a core dump in some
situations. This problem has been fixed in JDK 1.1.5. [Bug 4064823]
__________
SOCKET BUG - On win95, under certain circumstances such as heavy
network load, closing sockets could cause the connection to be reset,
disturbing the connection's peer. This bug has been fixed in JDK 1.1.5.
[Bug 4069782]
________________
APPLETVIEWER BUG - In earlier JDKs, the appletviewer would hang while
running under jdb. This bug has been fixed in JDK 1.1.5. [Bug 4061955]
________________
MODAL DIALOG BUG - Hiding and then showing modal dialogs resulted in
crash-causing race conditions in earlier JDKs. This bug has been fixed
in JDK 1.1.5. [Bug 4068620]
_____________________________
AWT LIGHTWEIGHT COMPONENT BUG - In a FOCUS_GAINED handler for a
lightweight component, a call to requestFocus() to shift the focus to
another view would fail. This bug has been fixed in JDK 1.1.5.
[Bug 4070597]
_________________________________
ARRAY INITIALIZATION OPTIMIZATION - Beginning with JDK 1.1.5, the
compiler does not generate inline code to fill the values of newly
created arrays, because such arrays are already filled with the
default values. This optimization saves half a megabyte in the
compressed classes.zip file. [Bugs 4017848, 4080908]
_______________
AWT REPAINT BUG - When several repaints are issued together in
previous JDKs, some repaints would not be carried out. This problem
has been fixed in JDK 1.1.5. [Bug 4073091]
_______________
AWT THREADS BUG - Repeatedly adding and removing components using
threads sometimes caused the VM to crash in earlier JDKs. This bug
has been fixed in JDK 1.1.5. [Bug 4073623]
________________
JAVA.NET.URL BUG - In JDK 1.1.4, the method setURLStreamHandlerFactory
in java.net.url did not clear the handlers cache. This meant that any
URL constructed prior to calling that method would use an old handler.
This bug has been fixed in JDK 1.1.5. [Bug 4074245]
_________________________
GETRESOURCE DIRECTORY BUG - JDK 1.1.4 introduced a bug in which a
directory path (e.g. myImages/) would be used to obtain a URL via
getResource(). This bug was only present on the win32 platform, and
was present in some conditions when using Beans.instantiate(). This bug
has been fixed in JDK 1.1.5 [Bug 4080478]
_______________
GETRESOURCE BUG - In JDK 1.1.4, the URL returned by getResource() was
incorrect. This problem has been fixed in JDK 1.1.5 [Bug 4026780].
For details on getResource() and getResourceAsStream() see the document
at http://java.sun.com/products/jdk/1.1/docs/guide/misc/resources.html.
_____________
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -