Re: Which String class functions are supported by MS JVM?



Rhino wrote:
"Mark" <crabtree8@xxxxxxxxx> wrote in message news:st995215lqlfjku3tg8hshfkeh072r2go0@xxxxxxxxxx
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/
.



Relevant Pages

  • Re: Java Timer, swing
    ... I visit a page with an applet and my Celeron 1.7GH ... skip/stall, my mouse to skip, etc, with the Microsoft JVM I barely ... not due to any "Java destroying proprietary feature" the ...
    (comp.lang.java.programmer)
  • Re: Which String class functions are supported by MS JVM?
    ... I work on a java applet and I would like it to be compatible with the ... set to compiler compliance level set to 1.3). ... I think the Microsoft JVM is at the Java 1.1 level, ...
    (comp.lang.java.programmer)
  • Re: Microsoft and Sun JVM ?
    ... > I am a newbie with Java programming here, I have written a simple applet ... > without sun's JVM impementation this does not run, ... > I am looking for some way for my applet to run using Microsoft JVM ...
    (comp.lang.java.help)
  • Re: Microsoft and Sun JVM ?
    ... > I am a newbie with Java programming here, I have written a simple applet ... > without sun's JVM impementation this does not run, ... > I am looking for some way for my applet to run using Microsoft JVM ...
    (comp.lang.java.programmer)
  • Technical information about the vulnerabilities fixed by MS-02-52
    ... The patch doesn't fix all of the vulnerabilities we reported, ... Java support in the Internet Zone even after applying the patch gives the ... possibility for a malicious Java Applet to gain control over the system. ... Our original report and information regarding the remaining Java ...
    (NT-Bugtraq)