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