Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: Strange problem with .jar and .class files Date: Fri, 13 Jan 2012 13:18:41 -0500 Organization: A noiseless patient Spider Lines: 43 Message-ID: References: <86312e3c-b1cd-47d6-819f-5337ac665d00@t13g2000yqg.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 13 Jan 2012 18:11:24 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="qwFw1g9RsQ6TkML5yezG9A"; logging-data="25470"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/VGgfe+vY7s05M5GLQuqt7CcHE7sqY9uQ=" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20111110 Icedove/3.0.11 In-Reply-To: Cancel-Lock: sha1:Ewq2WcgiuSj2Q5BUYj4aaTl+RRs= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:11310 On 01/13/2012 10:42 AM, Lew wrote: > On 01/13/2012 02:24 AM, Eric Tonissen wrote: >> On 12 jan, 12:40, Eric Tonissen wrote: >>> I have a Java program normal running. I needed some .class files from >>> another project, builded an .jar file from it, added this to the >>> classpath and it works. >>> >>> But now we decided not to use the .class files anymore but to make a >>> copy from the corresponding sources to my own project. >>> So I did. But now I have a lot of compile errors about sources which >>> it also needs ? >>> >>> I unzipped all the .jars files on the class path, but they are also >>> not in here. >>> >>> Is it possible that the compiler includes information into the .class >>> files, so it doesn't need the other .class files anymore? >> >> We find out that the java used lazy loading of the class-files at >> runtime. >> So an import of a class is only done when needed. >> That's why, when I copied only the sources of the class-files to my >> project I got compile errors. >> Because these sources has methods which I don't use, but needs sources >> which are not available. > > Why have you not answered my question? You came here asking for help but > refused to interact with any of us. You didn't even answer a direct > question. What's that all about? Hm? > > You do know this is a discussion group and not a help desk, right? And > that interacting with us would have helped you *more*? Hm? > The only questions you posed to the OP that I saw were: "Why? Why?" and "OP, why in the frak are you going down such an unproductive path?" both bleated in a reply to one of my posts, not directly to a post by Eric Tonissen. Maybe he didn't see them. Maybe he chose to ignore them. After all you did come close to gratuitously impugning his moral integrity with your parting shot concerning intellectual property rights.