Upgrading to New Versions of Java

From: Hal Vaughan (hal_at_thresholddigital.com)
Date: 01/27/05


Date: Wed, 26 Jan 2005 20:50:39 -0500

I have a fairly new development system that I've put together, and I just
used some classes that haven't been compiled in a while. This system uses
Java 1.4.2_04 (I set this up just about the time 1.5 went beta). Today I'm
running a program that uses some classes I haven't re-compiled in a while.
Is there a problem with this -- with classes compiled under one version
being run with classes compiled under an older version?

And, since it's along the same line, are there any "gotchas" I need to be
aware of if I upgrade to 1.5, both JRE and javac? Does it mean I have to
recompile all my old classes to make sure all my classes are compiled under
the same version?

And, if this isn't a problem, why is it a class that used to work fine would
suddenly stop working, but work again if it's recompiled, with no changes
in the source?

Thanks!

Hal



Relevant Pages

  • Re: [Delphi 64-bit] Observation for the day
    ... > It's a "Get new development system, get new development tools, ... > recompile, convince the customer to quickly ... > taken, and then it's just a simple recompile, but this is ... "If you put tomfoolery into a computer, nothing comes out of it but ...
    (borland.public.delphi.non-technical)
  • Re: [Delphi 64-bit] Observation for the day
    ... It's not a "simple recompile". ... It's a "Get new development system, get new development tools, recompile ... convince the customer to *quickly* replace all ...
    (borland.public.delphi.non-technical)