This chapter lists high-visibility bugs that
have been addressed in this release. It is not a complete listing
of all of the bugs addressed. If you still have issues with any
of these bugs, please file a new bug at http://bugreport.apple.com/ under
the Java (new bugs)
component,
version X
. Refer to the
bug number indicated below in your new bug if you believe it is
the same issue.
Java Aqua Look-and-Feel
Java AWT
Java Swing
Java Text
Java Virtual Machine
Dragging JTable and JList Elements
Dragging multiple rows in a JTable or JList caused the selection to be lost.
Multiple selected rows are now preserved during a drag.
POSIX Locales in JNI
From inside of a JNI call, the POSIX locale was always set to C. This was a result of linking against Core Foundation.
Java sets the POSIX locale, based on the Apple Languages user
default, as set in System Preferences. This affects all categories
except for LC_NUMERIC
,
which remains set to C.
MouseInfo.getNumberOfButtons Return Values
MouseInfo.getNumberOfButtons
is
a new class in J2SE 5.0 that returns information about the number
of mouse buttons.
Because Mac OS X can have multiple mice connected and in use,
as well as using Universal Preferences instead of the mouse, MouseInfo.getNumberOfButtons
is
generally inapplicable. Thus, it always returns 0
.
Window.setLocationByPlatform on Mac OS X
Window.setLocationByPlatform
is
a new API for J2SE 5.0 that attempts to place windows according
to the native operating system’s preferences.
On Mac OS X, Window. setLocationByPlatform
attempts
to cascade all windows with this property set as best as possible.
Windows without this property set are ignored.
Window.setAlwaysOnTop on Mac OS X
Window.setAlwaysOnTop
is
a new API for J2SE 5.0 that sets a window’s level to always be higher
than its peers.
On Mac OS X, non-modal windows with Window.setAlwaysOnTop
are
set one window level higher than normal modal dialogs. Modal windows
with this property are set two window levels higher than normal
modal dialogs. Note that some windows (alert windows, the Dock,
the menu bar) still appear above windows using Window.setAlwaysOnTop
.
JTable and Contextual Menus
Showing a contextual menu over multiple JTable rows caused the selection to be lost.
Multiple selected rows are now preserved when a contextual menu is invoked.
Font.deriveFont() Issues
Fonts created using Font.deriveFont(Tx)
,
where Tx
is an AffineTransform
that
has rotation, didn't work correctly. Fonts either get rotated incorrectly
or they would be rotated correctly, but drawn at the wrong x
and y
.
coordinates.
Also, fonts created using Font.deriveFont(Tx)
,
where Tx
is an AffineTransform
that has scaleX
and scaleY
different
from each other, weren't working correctly. The scaleY
value
was used for both x
and y
dimensions.
Fonts created in these circumstances now work correctly.
Revised HotSpot Error Messages
Crashes occurring within the VM result in error messages reported
in ~/Library/Logs/CrashReporter/java.crash.log
.
The log includes information on reporting the crash to Apple.
The crash report has been enhanced to include questions you should answer before filing a bug with Apple.
© 2005 Apple Computer, Inc. All Rights Reserved. (Last updated: 2005-10-04)