Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #14850

Re: How are multiple Java files compiled together?

From Knute Johnson <nospam@knutejohnson.com>
Newsgroups comp.lang.java.programmer
Subject Re: How are multiple Java files compiled together?
Date 2012-05-27 21:08 -0700
Organization A noiseless patient Spider
Message-ID <jputnt$sea$1@dont-email.me> (permalink)
References <90a3f6ec-dfd4-472b-866d-98eaa92364d5@googlegroups.com> <jpudmj$m0h$1@dont-email.me> <19fc754b-0501-46dc-ac81-3589c708e004@googlegroups.com> <jpuqqg$md9$1@news.albasani.net>

Show all headers | View raw


On 5/27/2012 8:18 PM, Lew wrote:
> That is not always correct, only if the compiler can't find the source
> or if the change is limited to compile-time constants.
> "Note: Classes found through the classpath may be subject to automatic
> recompilation if their sources are also found. See Searching For Types."
> <http://docs.oracle.com/javase/6/docs/technotes/tools/solaris/javac.html>

Lew:

Did I mis-remember that or has it changed since version 4 or there 
abouts?  I seem to remember a long thread here on this subject and I've 
always erased all my .class files before every compilation to avoid it. 
  Have I generated my own myth?

-- 

Knute Johnson

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How are multiple Java files compiled together? Jason Kim <iamjsonkim@gmail.com> - 2012-05-27 15:48 -0700
  Re: How are multiple Java files compiled together? Knute Johnson <nospam@knutejohnson.com> - 2012-05-27 16:34 -0700
    Re: How are multiple Java files compiled together? Jason Kim <iamjsonkim@gmail.com> - 2012-05-27 16:47 -0700
      Re: How are multiple Java files compiled together? Lew <noone@lewscanon.com> - 2012-05-27 20:18 -0700
        Re: How are multiple Java files compiled together? Knute Johnson <nospam@knutejohnson.com> - 2012-05-27 21:08 -0700
          Re: How are multiple Java files compiled together? Gene Wirchenko <genew@ocis.net> - 2012-05-28 09:32 -0700
            Re: How are multiple Java files compiled together? Lew <noone@lewscanon.com> - 2012-05-28 22:35 -0700
              Re: How are multiple Java files compiled together? Gene Wirchenko <genew@ocis.net> - 2012-05-29 09:20 -0700
  Re: How are multiple Java files compiled together? Roedy Green <see_website@mindprod.com.invalid> - 2012-05-27 17:35 -0700
    Re: How are multiple Java files compiled together? Roedy Green <see_website@mindprod.com.invalid> - 2012-05-27 19:34 -0700
    Re: How are multiple Java files compiled together? Roedy Green <see_website@mindprod.com.invalid> - 2012-05-28 04:00 -0700
      Re: How are multiple Java files compiled together? Lew <noone@lewscanon.com> - 2012-05-28 22:56 -0700

csiph-web