CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Nicolas Geoffray <[EMAIL PROTECTED]> 05/10/28 09:23:21
Modified files: . : ChangeLog Log message: 2005-10-28 Nicolas Geoffray <[EMAIL PROTECTED]> Reported by: Gael Thomas <[EMAIL PROTECTED]> * NEWS : added entry about new implementation of VMClassLoader.getPackage(s), and new method VMClassLoader.getBootPackages * vm/reference/java/lang/VMClassLoader.java: Added new definedPackages field to store packages loaded by the bootstrap classloader. Added new static initializer to create all packages which names are returned by getBootPackages (getBootPackages): new private method. Helper to get as a String[] the native package names (getPackage): uses the new definedPackages field (getPackages): uses the new definedPackages field * java/lang/Class.java: (getPackage): if the classloader of the class is null then call VMClassLoader.getPackage CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5372&tr2=1.5373&r1=text&r2=text