Java viewer uses Java 1.1
EPA "at" datcon.co.uk
Wed, 03 Jun 1998 19:26:17 +0000
>>vncCanvas.java uses the method java.awt.Graphics.setClip(), which is
>>new in Java 1.1.
>>I thought the Java viewer was deliberately 1.0, so it could be viewed
>>from any browser.
>Yes, but everywhere it's used the NoSuchMethodError exception is caught
>and a 1.0-compatible alternative used.
OK, that seems sensible.
However, the use of a 1.1 method does mean you have to compile with JDK
1.1, which is not guaranteed to be bytecode-compatible with 1.0. Sun
recommend that if you want your programs to run in 1.0 JVMs, you should
compile them with JDK 1.0.
It is possible Sun (and I) are being unnecessarially paranoid about
this. What's your view?
Ed Avis <http://members.tripod.com/~mave>