Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!goblin1!goblin3!goblin.stu.neva.ru!exi-transit.telstra.net!news.telstra.net!exi-spool.telstra.net!exi-reader.telstra.net!not-for-mail Date: Thu, 23 Jun 2011 20:21:44 +1000 From: Esmond Pitt Reply-To: not.esmond.pitt@not.bigpond.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: CLI Java Glitch References: <4dffe2ea$0$57121$c30e37c6@exi-reader.telstra.net> <4e02999a$0$57110$c30e37c6@exi-reader.telstra.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Lines: 13 Message-ID: <4e0313bc$0$57116$c30e37c6@exi-reader.telstra.net> NNTP-Posting-Host: 120.151.14.51 X-Trace: 1308824508 exi-reader.telstra.net 57116 120.151.14.51:40507 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5571 On 23/06/2011 12:01 PM, Stefan Ram wrote: > > The spelling of an entry can be obtained in an > operating-system dependent manner. For example, under > Microsoft® Windows: That assumes that the file hasn't been renamed between opening and running 'dir', or the other way around. As a solution to this non-existent problem it doesn't convince. What would be required, if anything was a method that turned an fd into a filename. Is there one? Or are we really expecting the JVM to run external processes or scan directories every time the JVM opens a .class file? to no purpose when what it already does addresses the issue entirely?