tweaks for finishing 46

This commit is contained in:
benfry
2002-11-20 17:36:38 +00:00
parent b315c7ffd9
commit 1dded5e6bf
4 changed files with 30 additions and 1 deletions

View File

@@ -765,6 +765,20 @@ public class PdeBase extends Frame implements ActionListener {
e.printStackTrace();
}
// macosx fails on its own when trying to load the library
// so need to explicitly try here.. not sure if this is the
// correct lib, but it's at least one that's loaded inside
// the javacomm solaris stuff, which is the .jar that's included
// with the osx release (and rxtx takes over)
if (platform == MACOSX) {
try {
System.loadLibrary("SolarisSerialParallel");
} catch (UnsatisfiedLinkError e) {
//e.printStackTrace();
problem = true;
}
}
// only warn them if this is the first time
if (problem && firstTime) {
JOptionPane.showMessageDialog(frame,

View File

@@ -304,6 +304,13 @@ public class PdeEditorConsole extends Component {
}
public void message(String what, boolean err, boolean advance) {
// under osx, suppress the spew about the serial port
// to avoid an error every time someone loads their app
if (PdeBase.platform == PdeBase.MACOSX) {
if (what.equals("Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path")) return;
if (what.equals("Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver")) return;
}
int currentLine = (firstLine + lineCount) % maxLineCount;
lines[currentLine] = what;
isError[currentLine] = err;

View File

@@ -229,6 +229,10 @@ java applications on classic mac os are in a bad state, as apple has
decided (rightfully so) to abandon further development of their java
runtime under OS 9.
the most recent release (revision 46), does not run under Mac OS 9.
this is due to a few issues that were found just before release, and
i didn't want to hold up the release on the other platforms.
speed: this version runs very slowly. the first time you hit the 'run'
button, it might take a while to bring up the actual
program. hopefully after that, things will improve.

View File

@@ -49,8 +49,12 @@ ABOUT REV 0046 - 20 november 2002
[ a few of the known issues ]
- this release is not available for mac os 9. there were problems
just before release, and there was no point in holding up the
more important platforms for another week.
- download size for windows is getting enormous. in the future will
- switch to having people download and install java 1.4 separately.
switch to having people download and install java 1.4 separately.
- mouse wheel only works on windows, because jdk 1.4
is required for mouse wheel, and osx is behind the times.