< Previous PageNext Page > Hide TOC

Resolved Issues Since Java 1.4.1 Developer Preview 10

The issues discussed here represent some specific bugs that have been fixed since the Java 1.4.1 Developer Preview 10 release. This listing is not a complete list of bugs that have been fixed, but a snapshot of issues that might be of interest. If you still have problems with any of the issues, please file a bug, as described in“Filing and Tracking Bugs.”

Each issue is broken down as follows:

In this section:

Java AWT
Java Engine
Java Events
Java HotSpot
Java Sound
Java Swing
Java Text


Java AWT

Radar #3169823

Drag and Drop actions result in bus errors.

Description:

If the window is resized after performing drag and drop operations, a segmentation fault or other error is generated.

Resolution:

This has been fixed.

Java Engine

Radar #3165467

Java 1.3.1 code compiled with Java 1.4.1 compiler fails.

Description:

Compiling some Java 1.3.1 code with the 1.4.1 version of javac causes a java.lang.NoSuchMethodError when it is run. Java 1.4.1 adds an append(StringBuffer) method to the StringBuffer class. If you have code that calls append with a StringBuffer as an argument, the Java 1.3.1 version of javac compiles this to append(Object). The Java 1.4.1 version of javac compiles the same code to append(StringBuffer). Running the version compiled with the Java 1.4.1 version of javac in a Java 1.3.1 environment returns a java.lang.NoSuchMethodError.

Resolution:

To get your code to run on Java 1.3.1, just cast your argument to java.lang.Object. For example, append((Object) stringBufArg)

Java Events

Radar #3163794

Return key does not generate the expected event.

Description:

The Return key does not work in some applications.

Resolution:

This has been fixed.

Radar #3164000

Copy command does not work.

Description:

When the Copy command is applied to selected text, it does not always copy that text to the pasteboard.

Resolution:

This has been fixed.

Radar #3168246

Cut, Copy, and Paste are not automatically handled in text fields.

Description:

TextAreas are not providing built in support for Cut (Command-X), Copy (Command-C), and Paste (Command-V) operations. They should.

Resolution:

This has been fixed so that these features are available by default.

Java HotSpot

Radar #3065092

JBuilder 7 does not launch.

Description:

Once Java 1.4.1 has been installed, JBuilder 7 stops working.

Workaround:

You can modify JBuilder to allow it to launch again under Java 1.3.1. Alternatively, you can launch JBuilder in Java 1.4.1, but only from the command line.

To launch JBuilder 7 in Java 1.3.1:

  1. In your JBuilder7 folder, navigate to JBuilder.framework/bin/.

  2. Open the jdk.config file in a text editor. You may need to do this from the shell with the sudo command depending on how the permissions to JBuilder7 are set. For example, type sudo vi jdk.config.

  3. Add the following line: javapath /System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Libraries/libjvm_compat.dylib.

  4. Save the file and launch JBuilder7 by double clicking the icon.

To launch JBuilder7 in Java 1.4.1 from the command line, navigate to the JBuilder.framework/bin directory inside of the JBuilder7 folder and enter the following command:

System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Commands/java  -
Xbootclasspath/p:../lib/lawt.jar:/System/Library/Java/Extensions/
MRJToolkit.jar -cp ../lib/activation.jar:../lib/ant.jar:../lib/
beandt.jar:../lib/borlandxml.jar:../lib/bsf.jar:../lib/castor-xml.jar:../
lib/castor.jar:../lib/cx.jar:../lib/dbswing.jar:../lib/dbswingdt.jar:../lib/
dbtools.jar:../lib/dt.jar:../lib/dx.jar:../lib/gnuregexp.jar:../lib/
help.jar:../lib/ias_common60.jar:../lib/ias_common65.jar:../lib/
iastools.jar:../lib/internetbeans.jar:../lib/jakarta-regexp-1.1.jar:../lib/
javaws.jar:../lib/jbcl.jar:../lib/jbuilder.jar:../lib/jdbcx.jar:../lib/
jdom.jar:../lib/jds.jar:../lib/jdsremote.jar:../lib/jdsserver.jar:../lib/
junit.jar:../lib/lawt.jar:../lib/linuxDesktopConfigurator.jar:../lib/
mail.jar:../lib/optional.jar:../lib/sqltools.jar:../lib/unittest.jar:../lib/
webserverglue.jar:../lib/xalan.jar:../lib/xerces.jar:../lib/xml4j.jar:../
lib/xmlbeans.jar:../lib/xmldbms.jar:../lib/bes/agentclient.jar:../lib/bes/
asrt.jar:../lib/bes/client.jar:../lib/bes/guicore.jar:../lib/bes/
jaas.jar:../lib/bes/jcert.jar:../lib/bes/jnet.jar:../lib/bes/jsse.jar:../
lib/bes/lm.jar:../lib/bes/vbdev.jar:../lib/bes/vbejb.jar:../lib/bes/
vbjdev.jar:../lib/bes/vbjorb.jar:../lib/bes/vbsec.jar:../lib/bes/xmlrt.jar
com.borland.jbuilder.JBuilder

Radar #3123712

Applications that use java.endorsed.dirs generate errors.

Description:

If an application specifies JAR files to load with java.endorsed.dirs that application generates an error noting that sharing is disabled.

Resolution:

Using java.endorsed.dirs no longer generates this message. Note that using java.endorsed.dirs prepends the boot classpath. This means that the shared archive normally used in Mac OS X to decrease memory usage and launch time of Java applications, cannot be used. If you use java.endorsed.dirs in an application, that application will not make use of the default shared archive.

Java Sound

Radar #2588625

Audio input doesn't work.

Description:

Audio input is not implemented through JavaSound.

Resolution:

Audio input is implemented through JavaSound, but it is important to note that only 44100 frame rate (in PCM encoding, mono or stereo, 8 or 16 bits per sample) is currently supported for sampled sound input. If you need a different frame rate please resample in your application.

Java Swing

Radar #3174147

JFileChooser.setAccessory does not work.

Description:

Adding accessories to a JFileChoose with setAccessory does not do anything. The JFileChooser just displays as normal.

Resolution:

This has been fixed.

Java Text

Radar #3096892

Font errors in the Console or command line.

Description:

Some of the fonts provided in the underlying operating system have errors. These errors may be displayed when you run your Java application. The errors usually relate to how the font reports its pitch and advance.

Resolution:

These are not Java issues, and there is nothing you should change in your code to correct these errors. The issue is being pursued at the operating system level.

Radar #3183481

Typing ALT (option) + a mnemonic character generates a character instead of giving a field focus.

Description:

Mac OS X uses the Option key to generate some special characters, and as such it cannot be used as an accelerator key on its own.

Workaround:

The accelerator to use with mnemonics is Control-Option.



< Previous PageNext Page > Hide TOC


© 2003 Apple Computer, Inc. All Rights Reserved. (Last updated: 2003-06-11)


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.