Re: compatibility java 4 -> 5



<oliv@xxxxxxxxxxxxx> wrote in message
news:1180619287.953492.214360@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
In which case, a desktop java application working with a sun jre1.4
could not work with a sun jre 5 ?
I thought Sun guaranteed that compatibility (adds deprecated method
but not remove anything..)

I believe the JVMs always have class file compatibility (that is, a
newer JVM can always correctly read from a class file intended for an
older JVM). The source compatibility is strived for, but not guaranteed,
as Sun sometimes add new keywords (such as "assert" or "enum"). Weaker
still is the API compatibility. The class library functionality may change
as errors and bugs are fixed. If your program depended on buggy behaviour
to work correctly, it may no longer work in future versions.

For the exact list of changes, see:
http://java.sun.com/j2se/1.5.0/compatibility.html

- Oliver


.



Relevant Pages

  • Re: Making Lisp popular - can it be done?
    ... Sun have been "working on" many things for many years and produced ... The JVM still does not have them. ... Google are a one trick pony and continue to lose market share to Microsoft. ...
    (comp.lang.lisp)
  • Re: Distinct ID Number Per Object?
    ... Sun JVM implementation, and the typical implementation, uses the RAM ... but then the object may get moved and the hash code stay the same. ...
    (comp.lang.java.programmer)
  • Re: NewsMaestro Usenet Supertool
    ... The Sun version is the biggest, ... that goes out on the Internet on non-standard ports. ... I don't even allow port 80. ... You need to have JVM ...
    (news.software.readers)
  • [Full-disclosure] [TZO-12-2009] SUN / Oracle JVM Remote code execution
    ... JVM Version 6 Update 1 ... the Java intermediate language into machine language and executes it. ... The original JVM came from the JavaSoft division of Sun. ... Web server to execute server-side Java programs. ...
    (Full-Disclosure)
  • [TZO-12-2009] SUN / Oracle JVM Remote code execution
    ... JVM Version 6 Update 1 ... the Java intermediate language into machine language and executes it. ... The original JVM came from the JavaSoft division of Sun. ... Web server to execute server-side Java programs. ...
    (Bugtraq)