Merge from mainline
[official-gcc.git] / libjava / classpath / NEWS
blobbbf1fdc11ac6bf7744972d32ae39c553de8fc394
1 New in release 0.20 (Jan 13, 2006)
3 * New StAX pull parser and SAX-over-StAX driver. Lots of DOM, SAX/StAX,
4   XPath and XSLT improvements.  Support for XInclude and XML Base added.
5   Conformance is now regularly tested against various test-suites at
6   http://builder.classpath.org/xml/ See also doc/README.jaxp.
8 * Full beans XMLEncoder implementation.
10 * javax.sound.sampled implementation.
12 * javax.print.attribute and javax.print.event implementated.
14 * Lots of new datatransfer, print swing and swing.text work and optimization.
16 * Additional 1.5 support. Including new (separate) generic branch release.
18 * SecurityManager cleanups and start of review of all Permission checks
19   (includes adding lots of new checks to the Mauve test-suite).
21 * Buildable on cygwin.
23 * Fully buildable as "in-workspace" library-plus-vm inside (native) Eclipse
24   see http://developer.classpath.org/mediation/ClasspathHackingWithEclipse
26 * Full example that shows a real world CORBA and Free Swing implementation.
27   See examples/gnu/classpath/examples/CORBA/swing/README.html
29 * A list of bug fixes can be found at:
30 http://gcc.gnu.org/bugzilla/buglist.cgi?product=classpath&target_milestone=0.20
32 Runtime interface changes:
34 * New method VMStackWalker.getClassLoader() was added to avoid an infinite
35   loop between getCallingClassLoader() and Class.getClassLoader().
37 * The included fdlibm implementation has seen several cleanups to handle
38   new architectures and namespacing issues (in particular for ppc, darwin
39   and non-C99 compilers). Please double check any arithmetic test against
40   new platforms/runtimes.
42 * The gnu.java.net.Plain[Datagram]Socket implementations have been
43   turned into VM reference classes with JNI/Posix implementations.
45 New in release 0.19 (Nov 2, 2005)
47 * The Swing RepaintManager has been reworked for more efficient painting,
48   especially for large GUIs.
50 * The Swing layout manager OverlayLayout has been implemented, the BoxLayout
51   has been rewritten to make use of the SizeRequirements utility class and
52   caching for more efficient layout.
54 * Improved accessibility support for Swing.
56 * The java.net.HttpURLConnection implementation no longer buffers the
57   entire response body in memory.  This means that response bodies
58   larger than available memory can now be handled.
60 * The Andrew Watson, Vice President and Technical Director of the Object
61   Management Group, has officially assigned us 20 bit Vendor Minor Code Id: 
62   0x47430 ("GC") that will mark remote Classpath - specific system exceptions.
63   Obtaining the VMCID means that GNU Classpath now is a recogniseable type of
64   node in a highly interoperable CORBA world. 
66 * Classpath now includes the first working draft to support the RMI over
67   IIOP protocol. The current implementation is capable for remote invocations,
68   transferring various Serializables and Externalizables via RMI-IIOP protocol.
69   It can flatten graphs and, at least for the simple cases, is interoperable
70   with Sun's jdk 1.5.
72 * Qt4 configury switches for OS-X. Additional to the --enable-qt-peer, OS-X
73   users with a Qt4 installation can build the qt-peers with the argument
74   --with-qt4dir=<Qt4-installation-dir>.
76 * Significant progress has been made in the implementation of the 
77   javax.swing.plaf.metal.* package, with most UI delegates in a working state
78   now.  Please test this with your own applications and provide feedback that 
79   will help us to improve this package.
81 * The GUI demo (gnu.classpath.examples.swing.Demo) has been extended to 
82   highlight various features in our free-swing implementation. And includes
83   a look and feel switcher (Metal default, Ocean or GNU).
85 Runtime interface changes:
87 * Changed implementation of VMClassLoader.getPackage(s) : new method
88   VMClassLoader.getBootPackages should be implemented by the vm, and sould
89   return a string array of boot package names ("java.lang", "java.net", ...).
90   Feedback from vm implementors for usability and relevance of the
91   getBootPackages method would be greatly appreciated.
92   
93 New in release 0.18 (Sep 6, 2005)
95 * GNU JAWT implementation, the AWT Native Interface, which allows direct
96   access to native screen resources from within a Canvas's paint method.
97   GNU Classpath Examples comes with a Demo, see examples/README.
98 * awt.datatransfer updated to 1.5 with supports for FlavorEvents.
99   The gtk+ awt peers now allow copy/paste of text, images, uris/files
100   and serialized objects with other applications and tracking
101   clipboard change events with gtk+ 2.6 (for gtk+ 2.4 only text and
102   serialized objects are supported). A GNU Classpath Examples
103   datatransfer Demo was added to show the new functionality.
104 * org.omg.PortableInterceptor and related functionality in other packages
105   is now implemented:
106     - The sever and client interceptors work as required since 1.4.
107     - The IOR interceptor works as needed for 1.5. 
108 * The org.omg.DynamicAny package is completed and passes the prepared tests.
109 * The Portable Object Adapter should now support the output of the
110   recent IDL to java compilers. These compilers now generate servants and 
111   not CORBA objects as before, making the output depended on the existing 
112   POA implementation. Completing POA means that such code can already be 
113   tried to run on Classpath. Our POA is tested for the following usager
114   scenarios:
115     - POA converts servant to the CORBA object.
116     - Servant provides to the CORBA object.
117     - POA activates new CORBA object with the given Object Id (byte array) 
118       that is later accessible for the servant.
119     - During the first call, the ServantActivator provides servant for this 
120       and all subsequent calls on the current object.
121     - During each call, the ServantLocator provides servant for this call
122       only.
123     - ServantLocator or ServantActivator forwards call to another server.
124     - POA has a single servant, responsible for all objects.
125     - POA has a default servant, but some objects are explicitly connected 
126       to they specific servants.
127   The POA is verified using tests from the former cost.omg.org.      
128 * The javax.swing.plaf.multi.* package is now implemented.
129 * Editing and several key actions for JTree and JTable were implemented.
130 * Lots of icons and look and feel improvements for Free Swing basic and
131   metal themes were added.  Try running the GNU Classpath Swing Demo in
132   examples (gnu.classpath.examples.swing.Demo) with:
133   -Dswing.defaultlaf=javax.swing.plaf.basic.BasicLookAndFeel
134   -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel
135 * Start of styled text capabilites for java.swing.text.
136 * NIO FileChannel.map implementation, fast bulk put implementation for
137   DirectByteBuffer (speeds up this method 10x).
138 * Split gtk+ awt peers event handling in two threads and improve gdk lock
139   handling (solves several AWT lock ups).
140 * Speed up awt Image loading.
141 * Updated TimeZone data against Olson tzdata2005l.
142 * Make zip and jar UTF-8 "clean".
143 * "native" code  builds and compiles (warning free) on Darwin and Solaris.
145 Runtime interface changes:
147 * All native resource "pointers" in the VM interface classes are now exposed
148   as gnu.classpath.Pointer objects. This might impact runtimes that
149   optimize and support java.nio.DirectByteBuffers. Creating these classes
150   and accessing the contents as void * pointers for the native reference JNI
151   implementation is done through the JCL_NewRawDataObject and JCL_GetRawData
152   functions.
153 * Simplified the Class/VMClass interface.
154 * Removed loadedClasses map from ClassLoader. It's now the VMs responsibility
155   to manage the list of defined and loaded classes for each class loader.
156 * Moved native methods from java.lang.reflect.Proxy to VMProxy.
157 * Added hook to VMClassLoader to allow VM to do class caching.
159 New Untested/Disabled Features:
161   The following new features are included, but not ready for production
162   yet. They are explicitly disabled and not supported. But if you want
163   to help with the development of these new features we are interested
164   in feedback. You will have to explicitly enable them to try them out
165   (and they will most likely contain bugs). If you are interested in any
166   of these then please join the mailing-list and follow development in
167   CVS.
169 * QT4 AWT peers, enable by giving configure --enable-qt-peer.
170 * JDWP framework, enable by deleting the jdwp references from
171   lib/standard.omit and vm/reference/standard.omit. No default
172   implementation is provided. Work is being done on gcj/gij integration.
173 * StAX java.xml.stream, enable by deleting the gnu.xml.stream and
174   java.xml.stream references in lib/standard.omit.
176 New in release 0.17 (Jul 15, 2005)
178 * gnu.xml fix for nodes created outside a namespace context.
179 * Add support for output indenting and cdata-section-elements output
180   instruction in xml.transform.
181 * xml.xpath corrections for cases where elements/attributes might have
182   been created in non-namespace-aware mode. Corrections to handling of
183   XSL variables and minor conformance updates.
184 * DefaultMutableTreeNode preorder, postorder, depthFirst and breadthFirst
185   traversal enumerations implemented.
186 * JInternalFrame colors and titlebar draw properly.
187 * JTree is working up to par (icons, selection and keyboard traversal).
188 * JMenus were made more compatible in visual and programmatic behavior.
189 * JTable changeSelection and multiple selections implemented.
190 * JButton and JToggleButton change states work properly now.
191 * JFileChooser fixes.
192 * revalidate and repaint fixes which make Free Swing much more responsive.
193 * Correctly handle system call interrupts and timeouts in native nio
194   and net functions.
195 * MetalIconFactory implemented.
196 * Handle image loading errors correctly for gdkpixbuf and MediaTracker.
197 * Added Tree World to GNU Classpath examples Free Swing demo.
198 * FileChannel.lock() and FileChannel.force() implemented.
199 * java.util.logging.FileHandler now rotates files.
200 * Better handle GDK lock. Properly prefix gtkpeer native functions (cp_gtk).
201 * Corba bug fixes and documentation updates.
202 * Updated gcj build infrastructure.
203 * Documentation fixes all over the place.
204   See http://developer.classpath.org/doc/
205 * VM Integration Guide updates with a full section on VM/Classpath hooks.
207 New in release 0.16 (Jun 30, 2005)
209 * Better GTK scrollbar peer implementation when using GTK >= 2.6.
210 * GdkGraphics2D has been updated to use Cairo 0.5.x APIs.
211 * BufferedImage and GtkImage rewrites. All image drawing operations
212   should now work correctly (flipping requires gtk+ >= 2.6)
213 * Future Graphics2D, Image and Text work is documented at:
214   http://developer.classpath.org/mediation/ClasspathGraphicsImagesText
215 * Free Swing Top-Level Compatibility. JFrame, JDialog, JApplet,
216   JInternalFrame, and JWindow are now 1.5 compatible in the sense that you
217   can call add() and setLayout() directly on them, which will have the same
218   effect as calling getContentPane().add() and getContentPane().setLayout().
219 * The JTree interface has been completed. JTrees now recognizes mouse clicks
220   and selections work, but the visual implementation is not yet complete.
221   Work on expansion and collapsing of the tree nodes is being implemented.
222 * BoxLayout works properly now.
223 * Fixed GrayFilter to actually work.
224 * Metal SplitPane implemented.
225 * Lots of free swing text and editor stuff work now.
227 * When gtk+ 2.6 or higher is installed the default log handler will produce
228   stack traces whenever a WARNING, CRITICAL or ERROR message is produced.
230 * The CORBA implementation is now a working prototype that should support
231   features up till 1.3 inclusive. 
232   We would invite groups writing CORBA dependent applications to
233   try Classpath implementation, reporting any possible bugs.
235   The CORBA prototype is interoperable with Sun's implementation v 1.4,
236   transferring object references, primitive types, narrow and wide 
237   strings, arrays, structures, trees, abstract interfaces and 
238   value types (feature of CORBA 2.3) between these two platforms. 
239   The remote exceptions are transferred and handled correctly.
240   The stringified object references (IORs) from various sources are
241   parsed as required. 
242   The transient (for current session) and permanent (till jre restart)
243   redirections work. 
244   Both Little and Big Endian encoded messages are accepted. 
245   The implementation is verified using tests from the former cost.omg.org.
246   The current release includes working examples (see the examples directory),
247   demonstrating the client-server communication, using either CORBA Request
248   or IDL-based  stub (usually generated by a IDL to java compiler).
249   These examples also show how to use the Classpath CORBA naming service.
250   The IDL to java compiler is not yet written, but as our library must be 
251   compatible, it naturally accepts the output of other idlj implementations.
253 * New --with-vm-classes configure option, and new 'build' setting
254   for --with-glibj. (Only for integrators.)
256 Runtime interface changes:
258 * Start of a generic JDWP framework in gnu/classpath/jdwp.
259   This is unfinished, but feedback (at classpath@gnu.org) from runtime
260   hackers is greatly appreciated. Although most of the work is currently
261   being done around gcj/gij we want this framework to be as VM neutral as
262   possible. Early design is described in:
263   http://gcc.gnu.org/ml/java/2005-05/msg00260.html
264 * Native method VMClass.getModifiers() now takes an additional
265   boolean parameter.
266 * Deprecated native method VMClassLoader.defineClass(ClassLoader,
267   String, byte[], int, int) has been replaced by
268   VMClassLoader.defineClass(ClassLoader, String, byte[], int, int,
269   ProtectionDomain)
270 * VMClassLoader.loadClass(String name, boolean resolve) is now native,
271   replacing the former version which just returned null.
272 * Deprecated native method VMClassLoader.getPrimitiveClass(String) has
273   been replaced by new native method VMClassLoader.getPrimitiveClass(char).
274 * Previously empty implementations of methods VMThread.countStackFrames(),
275   VMThrowable.fillInStackTrace(), and VMThrowable.getStackTrace() have
276   been removed; these methods are now native methods.
277 * Fields "exceptionTypes" and "parameterTypes" have been removed from
278   Contructor.java and getExceptionTypes() and getParameterTypes() are
279   now native methods.
281 New in release 0.15 (Apr 29, 2005)
283 * The old character encoding framework (gnu.java.io.EncodingManager)
284 has been replaced by a system based completely on nio.charset
285 providers. Many converters have been added, both the io, lang and nio
286 frameworks now use the same set of converters and the whole character
287 stream framework (Readers and Writers) have been optimized. For some
288 workloads this leads to 2x till 20x speedups.
290 The default charsets supported are:
292   Cp424, Cp437, Cp737, Cp775, Cp850, Cp852, Cp855, Cp857, Cp860, Cp861,
293   Cp862, Cp863, Cp864, Cp865, Cp866, Cp869, Cp874, ISO_8859_1, ISO_8859_13,
294   ISO_8859_15, ISO_8859_2, ISO_8859_3, ISO_8859_4, ISO_8859_5, ISO_8859_6,
295   ISO_8859_7, ISO_8859_8, ISO_8859_9, KOI_8, MS874, MacCentralEurope,
296   MacCroatian, MacCyrillic, MacDingbat, MacGreek, MacIceland, MacRoman,
297   MacRomania, MacSymbol, MacThai, MacTurkish, US_ASCII, UTF_16, UTF_16BE,
298   UTF_16Decoder, UTF_16Encoder, UTF_16LE, UTF_8, UnicodeLittle, Windows1250,
299   Windows1251, Windows1252, Windows1253, Windows1254, Windows1255,
300   Windows1256, Windows1257, Windows1258.
302 Many more encoding are supported through the new IconvProvider
303 depending on the platform iconv support. GNU libiconv is recommended.
304 The IconvProvider is currently not enabled by default. To enable it
305 define the system property gnu.classpath.nio.charset.provider.iconv=true.
306 Some runtimes might choose to enable this by default by setting it
307 through VMSystemProperties. We would like to get feedback on whether
308 enabling or disabling the IconvProvider by default results in the
309 highest speedups.
311 * Free swing metal and pluggable look and feels have been improved.
312 The GNU Classpath free swing example can now be run with different
313 "skins" by setting the system property swing.defaultlaf to the GNU,
314 Basic or Metal look and feel.
316 * Some of the org.omg.CORBA classes and packages have now been
317 implemented. The Savannah bug tracker contains additional tasks for
318 which we are seeking help.
320 * Fixed compatibility problems in the java.beans which affected
321 Eclipse's Visual Editor Project.
323 * New completely lock free (Inheritable)ThreadLocal implementation.
325 * javax.swing.text.rtf framework added which can handle simple (plain)
326 text tokens.
328 * Support for parsing html files into Level 2 Document Object Model
329 (org.w3c.dom.html2 and javax.swing.text.html.parser). And a start of
330 javax.swing.text.html framework added.
332 Runtime interface changes:
334 * jni.h changed to better support compiling runtimes implementing jni;
335   see VM integration guide for details.
336 * New --enable-default-toolkit option to configure can be used to set
337   the fully qualified class name of the default AWT toolkit to use.
338   If not given, the old default of gnu.java.awt.peerk.gtk.GtkToolkit
339   is used.
340 * New --disable-core-jni option can be used to disable building the
341   "core" JNI libraries.  This is primarily useful if your VM can use the
342   Gtk peers but not the core JNI libraries.
343 * New system property "gnu.classpath.boot.library.path" can be specified
344   to define the location of the JNI libraries. It is by all means meant
345   ONLY for VM implementors and GNU Classpath hackers. See the hacking
346   guide for more information.
347 * The helper methods currentLoader() and allocateObject() for
348   java.io.ObjectInputStream have been moved to a VMObjectInputStream class.
349   Reference implementations are provided.
350 * java.net.InetAddress now uses VMInetAddress for runtime/platform
351   specific methods getLocalHostname(), getHostByAddr() and
352   getHostByName(). java.net.NetworkInterface now uses VMNetworkInterface
353   for runtime/platform specific getInterfaces() support. Default
354   (Posix/GNU JNI) implementations are provided.
355 * VMClass has a new method getModifiers(Class, boolean) which can be
356   used to get the real modifiers for an inner class or the ones
357   specified by the InnerClasses attribute.
358 * All (possible) runtime specific methods of Object and Double are now
359   in VMObject and VMDouble. Where possible generic reference
360   implementations are provided.
361 * The reference implementation of VMClassLoader now handles zip files
362   on the boot loader class path in getResources().
364 Other changes:
366 New in release 0.14 (Feb 25, 2005)
368 * Character encoders and decoders have been added for:
369   iso-8859-6 (arabic), iso-8859-7 (greek), iso-8859-8 (hebrew),
370   iso-8859-9 (latin-5), iso-8859-13, iso-8859-15 (latin-9), cp1047 (ebcdic),
371   ebcdic-xml-us,ascii, windows-1250, windows-1252, UTF-16BE (Big Endian),
372   UTF-16LE (Little Endian), UTF-32BE (Big Endian), UTF-32LE (Little Endian).
373 * Full documentation for all classes can be generated (again) by using
374   the --with-gjdoc configure option.
375 * javax.awt.imageio support through gdkpixbuf.
377 Runtime interface changes:
379 * VMSecurityManager has been replaced by gnu.classpath.VMStackWalker.
380   currentClassLoader() is no longer needed, and there are also two new
381   methods with non-native implementations. VM implementors are encouraged
382   to provide more efficient versions.
383 * VMRuntime.nativeLoad() now takes an additional ClassLoader parameter.
385 New in release 0.13 (Jan 6, 2005)
387 * The http url protocol handler has been replaced with a full HTTP/1.1
388   version from GNU inetlib.
389 * A new ftp url protocol handler has been added also from GNU inetlib.
390 * java.beans has been updated to 1.4 including support for XMLEncoder
391   and XMLDecoder.
392 * The java.util.Locale support is now based on the Common Locale Data
393   Repository (CLDR) Project (see http://www.unicode.org/cldr/).
394   GNU Classpath provides support for more than 250 locales now.
395   This new support is experimental and the GNU Classpath hackers are
396   working together with runtime developers and the unicode consortium
397   to improve them in the future.
398   If your runtime misdetects your locale or if the default locale gives
399   problems please try running with -Duser.language=en and -Duser.region=US
400   to fall back on a known good locale.
401 * Added implementations of javax.xml (JAXP 1.3), org.xml.sax (SAX2) and
402   org.w3c.dom (DOM Level 3) interfaces. It is possible to switch between
403   different implementations AElfred2, GNU DOM, GNU XSL, libxmlj SAX,
404   libxmlj DOM and libxmlj XSL by setting different system properties.
405   Also provided is a preliminary XPath 1.0 implementation.
406   The libxmlj versions are build around libxml2 and libxslt and have to
407   be enabled during build time by the --enable-xmlj configure flag.
408   The current support is equal to the last released GNU JAXP 1.3 release.
409   These packages will be maintained as part of the GNU Classpath core classes
410   in the future. For more information, conformance results and documentation
411   on selecting different implementations see doc/README.jaxp.
412 * More AWT accessible support.
413 * AWT gtk+ peers component layout, dialog placement, keyboard focus
414   handling and text positioning have been improved.
415 * ImageIO interfaces are more complete.
416 * JList, JTable and JTree have been hugely improved.
417 * java.awt.Robot support with GdkRobot in the gtk+ awt peers.
418   Needs XTest Extension (libXtst) XServer support.
419 * New --disable-examples configure argument.
421 Runtime interface changes:
423 * Added a new method (VMRuntime.enableShutdownHooks) that enables the VM
424   to lazily register an exit handler.
425 * The java.lang.Class constructor now automatically sets the protection
426   domain for array classes, based on the protection domain of the component
427   type class.
428 * New gnu.classpath.VMSystemProperties class. This replaces the
429   system properties initialization in VMRuntime. Note that it is
430   now the VMs responsibility to set one additional property:
431   gnu.cpu.endian should be set to "big" or "little".
432 * VMRuntime.nativeGetLibname() has been renamed to VMRuntime.mapLibraryName()
433   and has only one argument, the name of the library.
434 * String and StringBuffer now call VMSystem.arraycopy() directly and don't
435   go through java.lang.System. Be careful to not initialize java.lang.System
436   early in the bootstrap sequence in your VM runtime interface classes.
437 * Some (wrong) documentation about the behavior of VMThread.sleep(0, 0)
438   has been updated. Also, VMThread.sleep() now has a default non-native
439   implementation, but it is a generic implementation that ignores the
440   nano-seconds argument. Runtime hackers are encouraged to provide a more
441   efficient version.
442 * There is prelimenary support for nio direct byte buffers.
443   See VMDirectByteBuffer. Please contact the GNU Classpath mailinglist when
444   you add support for this to your runtime.
446 New in release 0.12 (Nov 14, 2004)
448 * GNU Classpath's JAR implementation now has preliminary support for
449   signed entries, for so called "signed JAR" file support. Signed JAR
450   files are one of the key security features of managed runtimes, and
451   allows code to run privileged given unforgeable proofs of identity.
452 * A much improved version of X.509 certificates has been added,
453   including a robust certificate path checking algorithm. Also
454   included is an implementation of the RSA signature scheme.
455 * Full java.awt.color implementation, with all standard ICC profiles,
456   except for PhotoYCC color space.
457 * java.beans 1.4 updates and bug fixes.
458 * java.awt.image support updated to 1.4.
459 * Improved build process. Uses less memory with gcj and C code is
460   buildable with -Werror on most platform. Please configure with
461   --enable-Werror and report any remaining issues.
462 * Big-endian (PowerPC) fixes for native awt GTK+ peers.
463 * Checkstyle support, see scripts/checkstyle-config.xml.
464 * Better AWT focus management fro GTK+ peers.
465 * Much faster and better fonts support
466   (for both gdk Graphics and cairo Graphics2D)
467 * AWT Choice fixes for hidden components.
468 * HTTP Connection Handler fixes for POST support.
469 * Much fuller collection documentation.
470 * Lots of Calendar bug fixes.
471 * More javax.imageio support.
472 * Better AWT Help MenuBar support.
473 * Lookahead support for regular expressions.
474 * Serialization object stream fixes for multiple ClassLoader scenarios.
475 * Swing TabbedPane, ColorChooser and ComboBox improvements.
476 * Start of JTree functionality.
477 * Improved Eclipse 3 support for GNU Classpath based runtimes.
479 Runtime interface Changes:
481 * New --enable-java-lang-system-explicit-initialization configuration
482   option. (Warning, will be replaced in next release, please consult
483   the mailinglist.)
484 * The reference implementation of VMClassLoader has default
485   implementations for getResource(s) and provides support for a new
486   default getSystemClassLoader implementation.
488 New in release 0.11 (Sep 13, 2004)
490 * javax.swing.Spring and SpringLayout support.
491 * Added pluggable look and feel support for BasicTextFieldUI and
492   BasicToolBarSeparatorUI.
493 * java.swing.text support for (Default and Layered) Highlighter, FieldView,
494   PlainView, TabExpander and TabableView added.
495 * Start of JTable and JTree implementation.
496 * Internal Swing frames work.
497 * JMenu and JPopupMenu work.
498 * New gtk+ AWT FileDialog peer now based on gtk+2.4 or higher.
499 * java.awt.image LookupTables and kernel support.
500 * Improved java.awt.image.BufferedImage support.
501 * AWT 1.0 event model support.
502 * GNU Classpath now comes with some example programs (see examples/README).
503 * New javax.crypto, javax.crypto.interfaces, javax.crypto.spec, javax.net,
504   javax.net.ssl, javax.security.auth, javax.security.auth.callback,
505   javax.security.auth.login, javax.security.auth.x500, javax.security.sasl
506   and org.ietf.jgss packages are now officially part of GNU Classpath.
507   Extra crypto algorithms can be obtained from the GNU Crypto project,
508   a full TLS implementation is provided by the Jessie project.
509   http://www.gnu.org/software/gnu-crypto/
510   http://www.nongnu.org/jessie/
511 * Frame.setIconImage() support.
512 * AWT GDKGraphics scaling.
513 * New configure flag --enable-gtk-cairo to build Graphics2D implementation
514   build on cairo and pangoft2.  Enabled at runtime by defining the system
515   property gnu.java.awt.peer.gtk.Graphics=Graphics2D.
516 * javax.swing.JSpinner implemented.
517 * Extensive documentation update for java.util collection classes.
518 * java.awt.geom completed. Area, Arc2D, Ellipse2D and Line2D implemented.
519 * GNU JAXP is no longer included with GNU Classpath. Runtime, compiler and
520   tool integrators are encouraged to directly integrate GNU JAXP.
521   This release has been tested against GNU JAXP 1.1.
522   http://www.gnu.org/software/classpathx/jaxp/jaxp.html
523 * JColorChooser, JComboBox and JTextField implemented, including example
524   uses in GNU Classpath Examples swing Demo.
526 Runtime interface Changes:
528 * java.lang.Compiler now uses the new java.lang.VMCompiler; there is
529   a reference implementation that most VMs can use.
530 * java.lang.VMSystem has a new getenv(String) method and a reference C/JNI
531   implementation that should work on most Posix like systems.
532 * java.util.TimeZone has been split into a platform independent class and
533   a platform dependent class VMTimeZone.  GNU Classpath comes with a generic
534   way to get at the default time zone for Posix/GNU-like platforms.
535 * [VM]AccessController improvements.  In particular it handles
536   `doPrivileged' calls better, and allows for recursive `doPrivileged'
537   calls in the same Thread. (see vm/reference/java/security/)
539 New in release 0.10 (Jul 9, 2004)
541 * java.net.URL now uses application classloader to load URLStreamHandlers
542   and reuses URLStreamHandlers when URL is reset (but protocol isn't changed).
543 * java.io.File.deleteOnExit() implementation.
544 * java.text multiple new features and bug fixes
545   (only 2 out of the 1000+ java.text Mauve tests now fail).
546 * Better (non-black) default AWT System colors.
547 * AWT lists use GTK treeviews.
548 * Proper AWT focus management has been implemented.
549 * Swing menus and scrollpanes are beginning to work.
550 * Swing splitpanes, dialogs and internal frames were added.
551 * Swing repainting / double buffering was redone.
552 * Font management and Pango DPI conversion fixes.
553 * A lot of AWT imaging and event bugs have been picked out.
554 * More of javax.swing.text has been implemented.
555 * javax.swing.Timer has been reimplemented.
556 * java.security.AccessController has been implemented
557   (see runtime section).
558 * The default java.lang.SecurityManager now uses AccessController.
559 * New java.beans.Statement and Expression implementations.
560 * Small FileChannel implementation speed improvement for traditional
561   JNI based systems.
562 * Regenerated all included JNI header files with gcjh (3.5 CVS),
563   removes extra extern modifier and allows stricter compiler warning.
564 * More C code cleanups (-Wmissing-declarations, -Wmissing-prototypes and
565   -Wstring-prototypes) and jni.h fixes (a few funtion prototype fixes,
566   made it compilable with C++ compilers and jni.h got renamed from jni.h.in).
567 * Double.toString() and Float.toString() now work properly on 64-bit 
568   PowerPC systems.
569 * PPC Darwin, arm, x86-64 and s/390 JNI C code compilation fixes.
570 * Build system refactored and removed old Japhar specific support.
571 * The gnu.java.awt.EmbeddedWindow class has been improved, and now
572   supports embedding AWT windows in other top-level X windows.
573   This functionality is required by gcjwebplugin.
574 * gcjwebplugin, an applet viewer that can be embedded into several web
575   browsers, has been extensively tested with this release of classpath.
576   (See http://www.nongnu.org/gcjwebplugin/)
577 * Runtime environments based on GNU Classpath 0.10 should be able to
578   start up Eclipse 3.0 out of the box now.
580 Runtime interface Changes:
582 * VMProcess.destroy() default implementation fixes.
583 * Fixed the "portable native sync" code; it had been broken since
584   Classpath release 0.06, when we upgraded to GTK+2.    
585   Classpath's AWT peers use GTK+.  GTK+ uses GLIB.  GLIB by default uses
586   the platform's native threading model -- pthreads in most cases.
587   If the Java runtime doesn't use the native threading model, then you should
588   specify --portable-native-sync when configuring Classpath, so that GLIB will
589   use the Java threading primitives instead.  (For a superior alternative,
590   see below.)
591 * The VM can set the system property
592   gnu.classpath.awt.gtk.portable.native.sync instead of using the
593   --portable-native-sync configure-type option.
594   See doc/vmintegration.texinfo for details.
595 * We intend that the next release of GNU Classpath will require the VM 
596   to provide JNI 1.2.  Classpath currently uses only JNI 1.1, except for 
597   one JNI 1.2 function: GetEnv(), in the JNI Invocation API. 
598   If this poses problems, please raise them on the classpath mailing list.
599 * The reference implementation of VMThread.holdsLock(Object) now has
600   a default implementation written in java. For efficiency and to
601   prevent spurious wakeups a real 'native' runtime version can be supplied.
602 * There is a new java.security.VMAccessController class that runtimes need
603   to implement to properly support SecurityManagers. The default
604   implementation that comes with GNU Classpath makes sure that ANY attempt
605   to access a protected resource is denied when a SecurityManager is
606   installed. Which is pretty secure, but also no very useful.
607   Please see the documentation in
608   vm/reference/java/security/VMAccessController.java,
609   and please give feedback on the GNU Classpath mailinglist whether or not
610   the current AccessController framework is flexible enough.
612 New in release 0.09 (May 2, 2004)
614 * Includes updated GNU JAXP version from 2004-02-01.
615 * Native C code is now -ansi -pedantic (C89) clean and (almost) -Wall clean.
616 * java.io is now implemented by delegating most tasks directly to java.nio.
617 * Reworked/Optimized implementations of java.nio.Buffer and subclasses.
618 * New javax.print, javax.print.attribute[.standard] and javax.print.event
619   packages and classes.
620 * java.text attributed iterators support.
621 * New javax.imageio, javax.imageio.event and javax.imageio.spi packages and
622   classes.
623 * GNU Classpath can now load service providers that are described via
624   META-INF/services/* resources in extension JARs. This is useful for
625   implementing the various APIs that are supposed to be extensible via
626   custom plugins. For details, please see the documentation of
627   gnu.classpath.ServiceFactory.
628   Application developers are strongly discouraged from calling glibj
629   internal packages.  Instead, they might want invoke the newly implemented
630   javax.imageio.spi.ServiceRegistry.lookupProviders, which is a standard 
631   method for loading plug-ins.
632 * New developers wanting to help the GNU Classpath project might want to
633   review the greatly expanded Hacker Guide included in the doc directory
634   or online at http://www.gnu.org/software/classpath/docs/hacking.html
635   Also the FAQ has been expanded. And when working from CVS you can now use
636   a simple autogen.sh script to get all autotools magic done automagically.
637 * New configure option --with-glibj which defines how to install the glibj
638   class files as zip, as flat directory files or both (zip|flat|both)
639   [default=zip].  When working with multiple runtimes some of which might
640   not support bootstrap classes in zip files the --with-glibj=both option
641   is recommended (this does take extra disc space).
642 * Two big code drops from the libgcj gui branch updating various java.awt
643   and javax.swing classes.
644 * Multiple java.net.InetAdress fixes and java.rmi fixes.
645 * ServerSocket.accept() now restarts listening when system call interrupted.
646 * Much cleanups to make standard API doc valid XHTML (not completed yet).
647 * A scan for unused variables and non-static invocation of static methods
648   turned up a couple of subtle bugs which have now all been fixed.
649 * The Mauve testsuite has been cleaned up considerable and lots of issues
650   in the GNU Classpath core class implementation have been fixed.
652 VM Interface changes:
654 * java.lang.Class/VMClass interface was changed. The interface now no
655   longer requires an instance of VMClass for each Class instance. Instead
656   the field vmdata in Class is now of type Object.
657 * GNU Classpath now assumes that JNI calls SetXField can modify final
658   fields. This was previously used silently for System.in/out/err and should
659   be considered as a feature now.
660 * A new VMProcess and a sample JNI C implementation are now provided to
661   make Runtime.exec() work out of the box on some systems.  This requires
662   a small change to VMRuntime.exec() when a runtime wants to use it as the
663   default java.lang.Process implementation.
664 * The implementation of most of java.io through java.nio moved serveral
665   runtime specific I/O methods. Most methods do have a generic default native
666   C JNI implementation in native/jni/java-nio.
667 * Runtime support methods for java.io.File have been moved to VMFile which
668   also comes with a default JNI C implementation.
669 * To support the new service provider mechanism runtimes must make sure that
670   extension JARs are made accessible via the default context class loader.
672 New in release 0.08 (2004/12/03)
674 * java.util.regexp implementation through gnu.regexp wrappers.
675 * java.net.URI implementation.
676 * Working implementation of javax.swing.undo.
677 * java.awt.geom.CubicCurve2D/QuadCurve2D: Can now solve cubic and quadratic
678   equations; implementation adapted from the GNU Scientific Library.
679 * Lots of java.awt and gtk+ peer improvements. Also more Swing work. Start
680   of EmbeddedWindow support.
681 * BufferedReader speed improvements.
682 * Improved useabilty of java.text implementation for several applications.
683 * ObjectInputStream is much faster and more compatible with other
684   implementations.
685 * Fix handling of alias methods, where a method has been deprecated in
686   favour of a new one with the same funtion but a different name.
687   (See Deprecated Methods section in the GNU Classpath Hacking Guide.)
688 * javax.print.attribute.standard added.
689 * Lots of java.nio, java.net, java.io
690 * Depend on autoconf 2.59+ and automake 1.7+, GCJ 3.3+, jikes 1.18+.
692 VM Interface changes:
693 * Split native methods in java.lang.Runtime into java.lang.VMRuntime.
694 * Resources are now also loaded/needed through the bootstrap classloader
695   (gnu.regexp needs MessageBundle included in glibj.zip
697 Fixed Classpath bugs:
698   #6095 java.awt.geom.QuadCurve2D.solveQuadratic sometimes gives
699         wrong results
700   #7099 EventListenerList.getListenerCount should accept null argument
701   #7104 EventListenerList.add does not work
702   #7105 EventListenerList.remove does not work
703   #7107 DefaultBoundedRangeModel.setValue and friends should not throw
704   And lots more.
706 New in release 0.07 (2003/30/11)
708 * Works with libtool 1.5 (and 1.4.3).
709 * java.awt gtk+ peers now depend on gtk+ 2.2.x and uses pango.
710   Lots and lots improvements on the peers.
711 * java.awt.geom.CubicCurve2D, java.awt.geom.QuadCurve2D:
712   Subdivision and flatness calculation implemented.
713 * java.awt.geom.FlatteningPathIterator: Working implementation.
714 * gnu.java.awt.BitwiseXORComposite helper class.
715 * New rmic compilers (jikes, kjc) support.
716 * java.text bug fixing and 1.4 updates (Currency).
717 * Hashtable and HashMap function more similar to other implementations.
718 * javax.naming and java.beans classloader fixes.
719 * URL parsing, URLConnection, protocol and (needed) permission fixes.
720 * More java.nio implementation
721   (API complete, but implementation not finished yet).
722 * Lots of java.net code cleanup.
723 * Improved documentation.
724 * Numerous bug fixes in almost every package, and lots of updates for
725   1.4 functionality.
726 * Fixed Classpath bugs:
727   #2944 Incorrect synchronization in java.util.logging.ErrorManager
728   #6075 java.awt.geom.GeneralPath.getCurrentPoint returns wrong results
729   #6076 java.awt.geom.GeneralPath constructor sometimes hangs
730   #6089 java.awt.geom.GeneralPath.getPathIterator does not work
731   [...]
733 VM Interface changes:
735 * Thread has been split in a VM-independent Thread class and a VM-dependent
736   VMThread class.
738 New in release 0.06 (2003/22/08)
740 * Update java.awt peers to GTK+2.
741 * java.awt.GridBagLayout implementation.
742 * javax.swing.border implementation.
743 * java.security and java.security.cert updated to 1.4 spec.
744 * New JNI native target code layer. See native/target/readme.txt.
745 * --enable-regen-headers configure flag for automatic jni .h file generation.
746 * Removed workaround for gcj 3.2 and lower, gcj 3.3+ or jikes 1.18+ is now
747   needed for compiling.
748 * Lots of improvements and/or new classes for java.awt, java.awt.dnd,
749   java.awt.font, java.awt.geom, java.awt.image, java.io, java.math, java.net,
750   java.nio, java.rmi, java.text, java.util, javax.swing, javax.swing.plaf,
751   javax.swing.text.
753 VM Interface changes:
755 * VMClassLoader.loadClass(), the bootstrap classloader called by
756   Class.forName() and ClassLoader.loadClass(), may now return null when
757   a class is not found instead of throwing a new ClassNotFoundException.
758   This is a performance optimization in some cases. This also changes
759   the Class.forName() reference code.
760 * Native methods in Class have been moved to VMClass.  A few additional
761   methods are also available in VMClass to provide optional performance
762   improvements.
763 * A VM can now supply its own String.intern() strategy through the
764   VMString class. The supplied VMString reference class implements the
765   original WeakHashMap strategy.
766 * Float and Double to/from bits conversion functions can now be supplied by
767   the VM through VMFloat and VMDouble. Default JNI conversion methods are
768   supplied.
770 New in release 0.05 (2003/02/15)
771 * Supports free Java VMs Jikes RVM and Kissme out of the box, perhaps others.
772 * Supports GNU Crypto 1.1 as the official provider of cryptographic primitives
773   and tools for GNU Classpath, available separately from 
774   http://www.gnu.org/software/classpathx/crypto/crypto.html. 
775 * Supports GNU Classpath Tools sub-project of GNU Classpath, official provider
776   of standard tools such as gjdoc, a javadoc replacement, and others.  Future
777   releases of GNU Classpath will begin to include these tools, available
778   separately from http://www.gnu.org/software/cp-tools/.
779 * Java primitives can be used to support AWT native threading, see 
780   the --enable-portable-native-sync configure option which may become the
781   default in a future release.
782 * Include file jni.h has been updated to the 1.4 specification.
783 * VM specific internal types for jobject, jfieldID, and jmethodID are
784   supported in jni.h.  More details can be found by reading the comment
785   in include/jni.h.in.  By default the old definitions are used instead.
786 * New VM helper class java.io.VMObjectStreamClass which should provide
787   the hasClassInitializer() method. Previously ObjectStreamClass used
788   Class.getDeclaredMethod("<clinit>") but according to the spec this
789   should always throw NoSuchMethodException for class initialization methods.
790   A JNI reference implementation is provided as
791   vm/reference/java-io/java_io_VMObjectStreamClass.c
792 * There have been numerous infrastructure improvements
793   * Configure option --enable-gjdoc to generate javadoc-like output 
794   * Gjdoc output is included with distribution, see doc/api/html/
795   * DESTDIR fully supported for install and uninstall
796 * Runtime.execInternal contract changed to allow for null `env'
797   and to accept `dir' argument.
798 * VMObject.getClass() removed. It was never used.
799 * java.lang.Throwable is now a 'normal' GNU Classpath class that uses the
800   VM specific java.lang.VMThrowable to get at the VM state and (if needed)
801   the StackTraceElements for a particular exception. A default implementation
802   (that does nothing) is provided in vm/reference/java/lang/VMThrowable.java.
803 * The vm/reference classes from the gnu.vm.stack and their counterparts
804   ExecutionStack and StackFrame in gnu.java.lang have been removed since they
805   are not actually part of the VM interface anyway.
806 * The GPLed com.sun.javadoc classes have been moved to the gjdoc application
807   from the GNU Classpath Tools project. See for more information the homepage
808   at: <http://www.gnu.org/software/cp-tools/>.
810 New in release 0.04 (2002/05/05)
811 * Additional configure options to disable zip creation and installation as
812   well as disable gtk peer native compilation.
813 * Addition of java.nio, java.util.logging, and javax.swing.
814 * Integration of most or all of the ORP patches to date, the purpose of 
815   which are to make it possible to use JBOSS with ORP and Classpath.  This
816   is still in a testing phase however.
817 * Significant changes in the reference VM interface that may require
818   support from the JVMs.
819 * Lots of bugfixes.
821 New in release 0.03 (2002/02/08)
822 * More merges with libgcj have been performed including java.math which now
823   provides a pure Java implementation of that package.
824   Current status at <http://gcc.gnu.org/java/libgcj-classpath-compare.html>
825 * A pure Java implementation (Jazzlib) of java.util.zip is available.
826 * Added the java.rmi implementation that Transvirtual donated to the FSF.
827 * Includes jni.h now, eliminating the need to specify a particular VM
828   via configure.
829 * No proprietary classes or programs are required to compile.
830   Compiles out of the box with jikes or gcj.
831 * Separation of compiling Java source and native libraries through the 
832   configure mechanism.  If given no arguments, configure will setup the
833   subsequent build to only produce Java bytecode (.class files).  More
834   information is available in INSTALLING.
835 * Support for compiling in a separate directory, as an example you may
836   cd classpath-0.03; mkdir build; cd build; ../configure; make
837 * Works with Orp 1.0.9 out of the box. Build instructions can be found at
838   <http://www.gnu.org/software/classpath/doc/orp.html>
839 * Lots of bugfixes that were found by using Classpath with the gcj, Orp,
840   SableVM, KissMe and Jaos VMs. Please use our bugdatabase at
841   <http://savannah.gnu.org/support/?group_id=85>
842 * Lots of updates to make Classpath more compliant with the 1.2, 1.3 and 1.4
843   API specification. The current status can be found at
844   <http://www.gnu.org/software/classpath/status.html>
845 * All files are now distributed under the same terms. Added clarification to
846   GPL exception.
848 New in release 0.02 (2001/01/06)
849 * Support for printing exceptions with Japhar 0.09 + patch included in
850   resource/japhar-0.09.patch.1.
851 * Typos, assorted bugfixes.
853 New in release 0.01 (2000/11/20)
854 * More packages are included now, though many remain untested.
855 * Support for Japhar 0.09 included.
857 New in release 0.00 (1999/02/01)
858 * First official development release of clean room class library for Java
859 * Following packages included:
860         -- java.beans
861         -- java.io
862         -- java.lang
863         -- java.lang.reflect
864         -- java.math
865         -- java.net
866         -- java.security (partial and non-functioning)
867         -- java.security.acl
868         -- java.security.interfaces
869         -- java.util
870 * Code is mostly Java 2 (see JDK 1.2) compatible with some functionality
871   missing and/or untested.
872 * Support for Japhar (http://www.japhar.org/) virtual machine is included.
873   Requires the current Japhar from CVS.
874 * Extensive javadoc comments for public API included
875 * Licensed under the GNU Library General Public License (see COPYING.LIB)
876 * Does not depend on any non-free code - developed in a "clean room"
877   environment.