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?

Path csiph.com!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From Knute Johnson <nospam@knutejohnson.com>
Newsgroups comp.lang.java.programmer
Subject Re: How are multiple Java files compiled together?
Date Sun, 27 May 2012 21:08:29 -0700
Organization A noiseless patient Spider
Lines 17
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>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Mon, 28 May 2012 04:08:30 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="mz/LDSJwiWnk3Jnnqg7x+Q"; logging-data="29130"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/3EfUxwRy1g2VK1CgsTyjJ"
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
In-Reply-To <jpuqqg$md9$1@news.albasani.net>
Cancel-Lock sha1:OCPV4Mcp6z4ATYk41gYJdstSN48=
Xref csiph.com comp.lang.java.programmer:14850

Show key headers only | 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