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 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: References: <90a3f6ec-dfd4-472b-866d-98eaa92364d5@googlegroups.com> <19fc754b-0501-46dc-ac81-3589c708e004@googlegroups.com> 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: Cancel-Lock: sha1:OCPV4Mcp6z4ATYk41gYJdstSN48= Xref: csiph.com comp.lang.java.programmer:14850 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." > 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