Re: Which String class functions are supported by MS JVM?
Rhino wrote:
"Mark" <crabtree8@xs4all.nl> wrote in message
news:st995215lqlfjku3tg8hshfkeh072r2go0@4ax.com...
Hi group,
I work on a java applet and I would like it to be compatible with the
old Microsoft JVM on Win2000 for example. Now the MS JVM doesn't
support some functions in the String library, like split() and
compareToIgnoreCase(). No problem, but I would like to know which
functions are not supported. I cannot find the information on the
internet and my compiler doesn't complain if I use unsupported
functions (Eclipse, set to compiler compliance level set to 1.3).
I think the Microsoft JVM is at the Java 1.1 level, although I can't swear
It's 1.1.4 to be exact. However, jview has deviations from Java and, of
course, its own bugs.
Microsoft do not appear to have patched security vulnerabilities in
jview for some considerable time. Indeed, Sun's JRE 1.1 has completed
its end-of-life period. From the achive page:
"[...] These products are down-revision products that may have
various bugs, Y2000, and possibly security issues associated with them.
Sun in no way recommends these products be used in a live, production
environment. Any use of product on this page is at the sole discretion
of the developer and Sun assumes no responsiblity for any resulting
problems."
-- http://java.sun.com/products/archive/index.html
In my view, deliberately allowing a public applet to function on 1.1
indicates condonation of running an insecure machine. Such a compromised
machine could potentially used to attack other machines or to capture
data passing though it, such as confidential bank login details.
About the only use for 1.1 applet code is to warn the responsible party
to upgrade (or remove) their JVM.
Tom Hawtin
--
Unemployed English Java programmer
http://jroller.com/page/tackline/