From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: store reference detection (was Re: JARs and reference scanning) Date: Fri, 12 May 2017 17:24:41 -0400 Message-ID: <8760h5hip2.fsf@netris.org> References: <87a876pwaq.fsf@gmail.com> <8760hr7mwl.fsf@gmail.com> <20170426.135333.1620868924745053745.post@thomasdanckaert.be> <87fugu6jzg.fsf@gnu.org> <59022E86.1020709@crazy-compilers.com> <8760hjig4r.fsf@gnu.org> <590F179B.4060306@crazy-compilers.com> <87zieotnzr.fsf@gmail.com> <87vapbkeua.fsf@elephly.net> <87inl7n5tt.fsf@gmail.com> <591581C6.2020308@crazy-compilers.com> <871sruhr45.fsf@netris.org> <5916156E.4090509@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9I3W-0002Ew-K6 for guix-devel@gnu.org; Fri, 12 May 2017 17:24:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9I3T-0004AP-E0 for guix-devel@gnu.org; Fri, 12 May 2017 17:24:58 -0400 Received: from world.peace.net ([50.252.239.5]:39095) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d9I3T-00049R-92 for guix-devel@gnu.org; Fri, 12 May 2017 17:24:55 -0400 In-Reply-To: <5916156E.4090509@crazy-compilers.com> (Hartmut Goebel's message of "Fri, 12 May 2017 22:05:02 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Hartmut Goebel Cc: guix-devel@gnu.org Hartmut Goebel writes: > Am 12.05.2017 um 20:22 schrieb Mark H Weaver: >> Might the compressed portions contain store references that >> will fail to be grafted? > > Class files per se do not contain references to any JAR file AFAIK. For > all other files (resources, etc.) its the same as for other programming > languages Is it possible that class files might contain string literals whose values are determined at compile time? I don't know how things are done in the Java world, but in C and C++ and I guess many other languages, it is common for store references to become embedded in the source code before compilation. Mark