From MAILER-DAEMON Sun May 29 05:07:15 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QQbxr-0007M7-8x
	for mharc-commit-classpath@gnu.org; Sun, 29 May 2011 05:07:15 -0400
Received: from eggs.gnu.org ([140.186.70.92]:37881)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <penberg@cs.helsinki.fi>) id 1QQbxk-0007LK-Ue
	for commit-classpath@gnu.org; Sun, 29 May 2011 05:07:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <penberg@cs.helsinki.fi>) id 1QQbxj-0000rE-OO
	for commit-classpath@gnu.org; Sun, 29 May 2011 05:07:08 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:49447)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <penberg@cs.helsinki.fi>) id 1QQbxj-0000r9-Lf
	for commit-classpath@gnu.org; Sun, 29 May 2011 05:07:07 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by colonialone.fsf.org with esmtp (Exim 4.69)
	(envelope-from <penberg@cs.helsinki.fi>) id 1QQbxj-00023h-EI
	for commit-classpath@gnu.org; Sun, 29 May 2011 09:07:07 +0000
Received: from penberg by vcs-noshell.in.savannah.gnu.org with local (Exim
	4.72) (envelope-from <penberg@savannah.gnu.org>) id 1QQbxj-0006Br-7F
	for commit-classpath@gnu.org; Sun, 29 May 2011 09:07:07 +0000
Date: Sun, 29 May 2011 09:07:07 +0000
Message-Id: <E1QQbxj-0006Br-7F@vcs-noshell.in.savannah.gnu.org>
To: commit-classpath@gnu.org
From: Pekka Enberg <penberg@cs.helsinki.fi>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.51
Subject: [commit-cp] classpath ChangeLog lib/Makefile.am
X-BeenThere: commit-classpath@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: classpath-patches@gnu.org
List-Id: "Automatic administrative message \(CVS, bugs,
	regressions\)." <commit-classpath.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/commit-classpath>,
	<mailto:commit-classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/commit-classpath>
List-Post: <mailto:commit-classpath@gnu.org>
List-Help: <mailto:commit-classpath-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/commit-classpath>,
	<mailto:commit-classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 May 2011 09:07:13 -0000

CVSROOT:	/sources/classpath
Module name:	classpath
Changes by:	Pekka Enberg <penberg>	11/05/29 09:07:07

Modified files:
	.              : ChangeLog 
	lib            : Makefile.am 

Log message:
	Generate META-INF/INDEX.LIST file for glibj.zip
	
	This patch changes the glibj.zip packaging so that META-INF/INDEX.LIST is
	generated to the file. This is needed for VMClassLoader.getBootPackages() to
	work correctly:
	
	  private static String[] getBootPackages()
	  {
	    URL indexList = getResource("META-INF/INDEX.LIST");
	    if (indexList != null)
	      {
	
	NOTE! This problem is only seen with Jato currently as it's the only VM I'm
	aware of that doesn't override any of the classes in vm/reference. CACAO and
	JamVM override the whole classloading parts themselves.
	
	I asked about this on IRC and Mark Wielaard explained background on the issue:
	
	  < mjw> 2006-04-19  Olivier Jolly  <olivier.jolly@pcedev.com>
	  < mjw>    * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
	  < mjw>    boot packages list from the META-INF/INDEX.LIST file if it exists.
	  < mjw> http://developer.classpath.org/pipermail/classpath-patches/2006-April/001704.html
	  < mjw> "the patch to support the -i option should be incorporated soon and we'll be able to add the creation of the index to the glibj.zip by default."
	  < mjw> soon just happens the be > 5 years...
	
	2011-05-29  Pekka Enberg  <penberg@kernel.org>
	
	        * lib/Makefile.am:
	        Generate META-INF/INDEX.LST for glibj.zip.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9826&r2=1.9827
http://cvs.savannah.gnu.org/viewcvs/classpath/lib/Makefile.am?cvsroot=classpath&r1=1.149&r2=1.150


