Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Joshua Cranmer Newsgroups: comp.lang.java.programmer Subject: Re: CLI Java Glitch Date: Wed, 22 Jun 2011 09:50:32 -0700 Organization: A noiseless patient Spider Lines: 14 Message-ID: References: <4dffe2ea$0$57121$c30e37c6@exi-reader.telstra.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 22 Jun 2011 16:50:34 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="Q8HyEFb0j2lB0WC1MU3ArQ"; logging-data="11822"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+S6Y12FoGlHLYRKGFLbaMFXacgj5HwvAc=" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 In-Reply-To: Cancel-Lock: sha1:zYSwDWv8qflm2SYIOax+KrZOeNw= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5526 On 6/21/2011 3:11 PM, Peter Duniho wrote: > If Java is deficient in any way here, I'd say it's the inability to > specify the .class file name separately from the name of the class > itself, specifically because of the potential for this mis-match of > casing rules. But even that seems a stretch to me, especially since > offering that option could encourage people naming their .class files > something completely different than the class contained within > (something I'd rather not see as a general practice :) ). You can do that, if you write your own custom class loader. -- Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth