diff options
author | Nicolas Geoffray <nicolas.geoffray@menlina.com> | 2005-10-28 09:23:19 +0000 |
---|---|---|
committer | Nicolas Geoffray <nicolas.geoffray@menlina.com> | 2005-10-28 09:23:19 +0000 |
commit | 5f1c48d9d52157d60d2af42698aa7164bdc693ea (patch) | |
tree | c4e2822434690b6ba03b1e806e1adff6e6a224b2 /NEWS | |
parent | 679b6058070424bb098cdf6318338181ad97fe8f (diff) | |
download | classpath-5f1c48d9d52157d60d2af42698aa7164bdc693ea.tar.gz |
2005-10-28 Nicolas Geoffray <nicolas.geoffray@menlina.com>
Reported by: Gael Thomas <gael.thomas@imag.fr>
* 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
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -16,6 +16,14 @@ New for the subsequent release: It can flatten graphs and, at least for the simple cases, is interoperable with Sun's jdk 1.5. +Runtime interface changes: + +* Changed implementation of VMClassLoader.getPackage(s) : new method + VMClassLoader.getBootPackages should be implemented by the vm, and sould + return a string array of boot package names ("java.lang", "java.net", ...). + Feedback from vm implementors for usability and relevance of the + getBootPackages method would be greatly appreciated. + New in release 0.18 (Sep 6, 2005) * GNU JAWT implementation, the AWT Native Interface, which allows direct |