< Previous PageNext Page > Hide TOC

Resolved Issues

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.

In this section:

Java Aqua Look-and-Feel
Java AWT
Java Swing
Java Text
Java Virtual Machine


Java Aqua Look-and-Feel

Radar #4040621

Dragging JTable and JList Elements

Description:

Dragging multiple rows in a JTable or JList caused the selection to be lost.

Resolution:

Multiple selected rows are now preserved during a drag.

Java AWT

Radar #3974688

POSIX Locales in JNI

Description:

From inside of a JNI call, the POSIX locale was always set to C. This was a result of linking against Core Foundation.

Resolution:

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.

Radar #4008177

MouseInfo.getNumberOfButtons Return Values

Description:

MouseInfo.getNumberOfButtons is a new class in J2SE 5.0 that returns information about the number of mouse buttons.

Resolution:

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.

Radar #4027192

Window.setLocationByPlatform on Mac OS X

Description:

Window.setLocationByPlatform is a new API for J2SE 5.0 that attempts to place windows according to the native operating system’s preferences.

Resolution:

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.

Radar #4027194

Window.setAlwaysOnTop on Mac OS X

Description:

Window.setAlwaysOnTop is a new API for J2SE 5.0 that sets a window’s level to always be higher than its peers.

Resolution:

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.

Java Swing

Radar #3813244

JTable and Contextual Menus

Description:

Showing a contextual menu over multiple JTable rows caused the selection to be lost.

Resolution:

Multiple selected rows are now preserved when a contextual menu is invoked.

Java Text

Radar #4068592

Font.deriveFont() Issues

Description:

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.

Resolution:

Fonts created in these circumstances now work correctly.

Java Virtual Machine

Radar #3880141

Revised HotSpot Error Messages

Description:

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.

Resolution:

The crash report has been enhanced to include questions you should answer before filing a bug with Apple.



< Previous PageNext Page > Hide TOC


© 2005 Apple Computer, Inc. All Rights Reserved. (Last updated: 2005-10-04)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.