Sheets Release Notes

Virtual Machines & Compilers

Sheets was developed on Windows under JDK1.1 VMs from Sun. It should run quite well on most JDK1.1 versions, especially JDK1.1.6. It does not currently work under JDK1.2. We hope to rectify this limitation in the near future.

It will run under Microsoft SDK2.0 or SDK3.0, but has some problems with pop-up menus. It has not yet been tested with Microsoft's Java SDK 3.1, but the release was compiled successfully with it.

Sheets has been tested under Linux (VM unknown) and performed adequately. The only known problems are that bitmaps are not displayed properly and that checkboxes in pop-up menus fail.

Sheets should run on most other VMs, since it attempts to rely only on the core "pure" Java libraries. (The one exception is the use of the "sun.audio" library for sound.)

Sheets should be able to use any Java 1.1 compiler. We have made extensive use of both Sun's "javac" and Microsoft's "jvc". We tend to recommend the latter simply because it executes much more quickly.

Limitations & Gotchas

There remain a few known problems with this version of Sheets.

Parser notes

The parser we use is not fully compliant with Java 1.1 (Java with inner classes). The biggest fault is that we don't handle the ".class" construct when applied to a primitive type: "Vector.class" is ok, but "int.class" is not.

There are also several illegal constructs that Sheets will happily parse. Most of these are errors that are defined in Java as syntax errors, but which we prefer to think of as semantic errors. These include:

In the future, we may generate warning messages when these illegal programs are parsed.

We also don't parse "foo instanceof bar instanceof baz", which is syntactically legal, but seldom semantically correct. (This behavior came from the JavaCC grammar we used for our parser, and we haven't yet fixed it)

We don't parse "int[].class". (It's unclear whether this is legal java, but it is accepted by javac.)


[Go back to index]

Copyright (c) 1997 Carnegie Mellon University. All rights reserved.