[commit-cp] classpath ChangeLog lib/Makefile.am

Pekka Enberg <[email protected]> Sun, 29 May 2011 09:07:07 +0000
Newsgroups gmane.comp.java.classpath.cvs
Message-ID <[email protected]>
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  <[email protected]>
	  < 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  <[email protected]>
	
	        * 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