3 SX - http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=X
4 RHX - https://bugzilla.redhat.com/show_bug.cgi?id=X
5 DX - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=X
6 GX - http://bugs.gentoo.org/show_bug.cgi?id=X
7 CAX - http://server.complang.tuwien.ac.at/cgi-bin/bugzilla/show_bug.cgi?id=X
8 LPX - https://bugs.launchpad.net/bugs/X
9 PRX - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=X
11 CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY
13 New in release 0.99.1 (XXX XX, 2012)
16 - PR42134: NPE in java.text.Bidi
17 - PR54931: Classpath will not build docs with version of GJDoc included with itself
18 - PR54960: Avoid NullPointerException in SAXSerializer.
19 - PR42551: Avoid overwriting length of message when computing length representation.
20 - PR44208: Ensure a handle for the enum is registered before its constant.
21 - PR41689: javax.security.sasl.CREDIENTIALS field is missing
22 - PR55140: Addition of exception to codePointBefore breaks OpenJDK GenerateBreakIteratorData tool
24 New in release 0.99 (Feb 15, 2012)
26 * Addition of java.util.regex.Pattern.quote.
27 * Addition of java.io.IOError.
28 * Addition of java.io.Console.
30 - PR39408: gjavah doesn't generate constants in header files where they occur in a superclass
31 - PR40590: namespace namespace broken in CNI
32 - PR40630: java.util.Scanner fails when used for charset generation by the OpenJDK build
33 - PR40653: Issue with XML stream writer and namespaces
34 - PR40663: Support Stax API 1.0.1
35 - PR39177: trunk revision 144128 - jar: internal error: java.lang.NullPointerException
36 - PR41696: java.util.zip.Inflater:finished () returns false when it should return true
37 - PR43536: CopyOnWriteArrayList bug in delete() when empty
38 - PR36560: java.util.zip: Error parsing zip file with larger files in it
39 - Restrict access to VM classes.
40 - Cleanup use of message resources.
41 - Throw exception when encrypted zip file entries are encountered.
42 - Fix infinite recursion in javax.print.attribute.standard.JobStateReasons.add.
43 - Native code cleanups in GtkToolkit.c and jcl.c.
44 - Only log when debugging is on.
45 - PR44411: System.nanoTime() is not independent of wall-clock time
46 - PR46775: Calling Policy.setPolicy with a new Policy object has no effect on the DefaultSecurityManager
47 - Use implementation of VMClass.getSimpleName from gcj.
48 - Simplify security determination in ProtectionDomain in situations where all permissions are available.
49 - PR42390: Missing Security Manager checks in classpath apis
50 - Throw NullPointerExceptions appropriately for compatibility with OpenJDK.
51 - Use Integer.parseInt in preference to Integer.decode in java.util.Formatter.
52 - Use same default capacity in java.util.HashMap as documented in OpenJDK.
53 - Check for hashcode equality before calling equals in java.util.HashMap.put
54 - Make sure match is within input data limits in java.util.regex.Matcher.find.
55 - Fix misuse of ArrayList.set in javax.swing.text.html.StyleSheet.resolveStyle.
56 - PR48131: java.util.zip.ZipException: incomplete dynamic bit lengths tree
57 - Check for negative capacity in VMDirectByteBuffer's native code.
58 - PR42823: tcp/ip sockets read/write operations causes memory leak
59 - Generate META-INF/INDEX.LST for glibj.zip
60 - Fix issues when building with -Werror and gcc 4.6.
61 - PR40188: javah creates constants using name of superclass
62 - PR45527: gjavah encodes $ as used in inner classes as 00024 where Oracle's javah does not
63 - PR45526: gjavah does not implicitly produce header files for inner classes
64 - Fix NullPointerException for null keys in java.util.HashMap.put.
65 - Fix BEAST security issue in gnu.javax.net.ssl.provider.
66 - RH712013: pdftk crashes with java.lang.ArrayIndexOutOfBoundsException
67 * Updated to libtool 2.x.
68 * Lots of warning fixes / addition of generics.
69 * Fix license headers in tools.
70 * Normalise whitespace.
71 * Maintenance work on javac detection.
72 * Mark plugin as unmaintained and disable by default.
74 New in release 0.98 (Feb 05, 2009)
76 * Native support for BigInteger is now provided using the GMP
77 library. A new option, --enable/disable-gmp is provided, and
78 the option is enabled by default if GMP is found.
79 * Classpath now makes use of a new StringBuilder implementation
80 internally called CPStringBuilder. In addition to being
81 unsynchronised, like StringBuilder, this also avoids copying the
82 array when toString or substring is called. While StringBuffer/Builder
83 always retain their own array, which is only altered during resizing,
84 CPStringBuilder gives away its array when the result is generated
85 by toString()/substring() and starts afresh. The default capacity of
86 CPStringBuilder can also be configured using the
87 gnu.classpath.cpstringbuilder.capacity property. (PR21869)
88 * gjdoc is now built as part of tools.zip.
89 * Import of the Java Activation Framework from ClasspathX to provide
90 javax.activation (part of 1.6).
91 * Preliminary version of java.util.Scanner (PR30436)
92 * Reduce cost of ThreadLocal(s) to improve Jython performance (PR33690)
93 * Updated to use CLDR 1.5.1 (PR35237)
94 * Many bug fixes including:
95 - PR22851: zoneStrings in gnu/java/locale/LocaleInformation*
96 - PR31895: setCurrency(Currency) does not actually change the currency.
97 - PR32028: Make fails at gjdoc
98 - PR34840: Mismatch between Sun and Classpath's java.lang.Appendable
99 - PR35487: gcj causes ConcurrentModificationException during tomcat5
100 - PR35690: javax.tools.FileObject.toUri is in wrong case
101 - PR36085: java.util.regex escape-sequence handling
102 - PR36147: Apache Tomcat fails to read descriptors using GNU XML
103 - PR36219: gnu.xml.transform.SortKey isn't subclass
104 - PR36220: NPEs in gnu.xml.transform.* clone methods
105 - PR36221: DomDOMException running SPEC jvm 2008 xml.transform
106 - PR36477: OOME in CPStringBuilder when running Eclipse
107 - PR36522: Policy file is not read at all
108 - PR36636: gjar -u doesn't work
109 - PR36637: --without-fastjar doesn't wor
110 - PR36677: Omission bug in JDWP VirtualMachineCommandSet
111 - PR38417: gnu.java.security.util.PRNG produces easily predictable values
112 - PR38473: Segmentation fault in retrieving font outline decomposition
113 - PR38861: Support XULRunner 1.9.1.
114 - PR38912: XMLParser not interning element names
116 Runtime interface changes:
118 * VMSecureRandom has moved to gnu.java.security.jce.prng.VMSecureRandom
119 as part of the fix for PR38417.
120 * gnu.java.lang.VMCPStringBuilder has been added and should be added to
121 avoid the inefficency of reflection when creating non-copied String objects.
123 Bug fixes in release 0.97.2 (Jun 06, 2007)
125 * Include headers in the release tarball.
126 * Allow the building of tools to be optional.
127 * Only check for a Java compiler when required.
128 * Allow VMOperatingSystemMXBeanImpl to compile on Solaris.
129 * Documentation typo fixes
130 * Fix memory leak in native/jni/classpath/jcl.c
131 * Web page updates (PR classpath/22883)
132 * Fixes to pass the JSR166 TCK
133 * Use awk to construct the classlist on building
134 * Fix deadlock in Logger (PR classpath/35974)
135 * Fix regression in java.lang.String (PR classpath/35482)
136 * Allow Classpath tools to handle @file options.
137 * Allow parseInt to handle a + prefix correctly.
138 * Remove use of 1.5 language constructs in the VM layer.
140 Bug fixes in release 0.97.1 (Mar 11, 2007)
142 * Include documentation for JSR166 (java.util.concurrent)
143 * Fix STaX API compatability.
144 * Include the tools properties file in the release tarball.
146 New in release 0.97 (Feb 22, 2007)
150 * A copy of javah (to produce C header files from Java source code)
151 is now required to generate the files in include.
152 * The javac check has been changed so that it attempts to find ecj,
153 javac and gcj (in that order). You may override this by using
154 JAVAC=<preferred javac>
156 Runtime interface changes:
158 * Removed VMFloat.floatToIntBits amd VMDouble.doubleToLongBits.
159 * Added new getParameterAnnotations() methods in Constructor and Method.
161 New in release 0.96.1 (Oct 16, 2007)
163 * Small compile, configure and build fixes.
165 New in release 0.96 (Oct 15, 2007)
167 * New experimental GStreamer javax.sound peer (see README.gstreamer)
168 * The JNI interface has been updated to 1.6
169 * Better support for the OpenJDK javac compiler
170 * Support for using javah via tools.zip and com.sun.tools.javah.Main
171 * Much improved Escher AWT peers
172 * Many bug fixes including improvements to AWT and Swing support
174 Runtime interface changes:
176 * Add VMFloat.toString(float) and VMFloat.parseFloat(String). Default
177 implementations are the same as previous behavior.
178 * Add new default implementations of VMMemoryMXBean.getHeapUsage()
179 and VMMemoryMXBean.getNonHeapUsage() via iteration over the memory
180 pools of the appropriate type.
182 New in release 0.95 (Apr 23, 2007)
184 * Full merge of 1.5 generics work.
185 * Added 1.6 java.util.ServiceLoader support.
186 * The ASM library is now included. A separate copy is no longer
187 needed. gjavah works out of the box now.
188 * The setReadTimeout and getReadTimeout methods have been added to
189 java.net.URLConnection. They are now fully implemented for http URLs.
190 * The java.lang.management implementation now includes the new features
192 * java.util.TimeZone now reads time zone information from the system
193 zoneinfo files (see also runtime interface changes below).
194 * The collection classes have been updated to support all the 1.6
196 * java.util.spi 1.6 package has been added and is used in java.text.
197 * Bootstrappable with OpenJDK javac compiler
198 (use configure --with-javac).
199 * Large speedups (and locking behaviour updated) in Graphics2D cairo
200 and freetype support.
201 * Better detection of browser plugin mechanism for mozilla, iceweasel,
202 firefox on various platforms.
203 * Inclusion of generic javadoc classes in tools.zip to support more
204 javadoc processing tools.
205 * Added documentation for command lines options for the included GNU
206 Classpath Tools gjar, gjavah, gnative2ascii, gorbd, grmid,
207 grmiregistry, gserialver and gtnameserv.
209 Runtime interface changes:
211 * gnu.java.lang.management.VMThreadMXBeanImpl has gained three new
212 optional native methods to allow the 1.6 version of the threading
213 bean to be supported. One (getMonitorInfo) fills in information
214 about object monitor locks held by a thread and is only required
215 if the monitoring of object monitor locks is supported by the VM.
216 The other two (findDeadlockedThreads and getLockInfo) are related
217 to ownable synchronizers (part of the java.util.concurrent suite)
218 and only required if monitoring of locks relating to these is
220 * java.util.VMTimeZone and java.util.TimeZone have been refactored
221 to simplify the reference implementation. VMTimeZone.readtzFile()
222 and VMTimeZone.skipFully() have been removed, and a new method
223 VMTimeZone.readSysconfigClockFile() has been introduced.
224 * VMs need to set the system property "gnu.java.util.zoneinfo.dir"
225 to point to the directory where zoneinfo files live. In libgcj
226 this is set to the value of the TZDATA environment variable, or
227 "/usr/share/zoneinfo" if this is not set.
228 * VMFile has been extended to support new 1.6 methods (canExecute,
229 setReadable, setWritable, setExecutable).
231 New in release 0.93 (Dec 8, 2006)
233 * CORBA objects that exist on the same virtual machine and only are connected
234 to another ORB are now accessed directly and no longer via network. It is
235 the same feature that RMI implementation provides. These faster calls should
236 be completely transparent, as the parameters are cloned, where required.
237 Currently the direct calls are only possible for the non-deprecated objects
238 that are connected to the ORB via POA.
239 * The 'javah' tool has been added. It requires the ASM library
240 (see asm.objectweb.org); it can be enabled with the --with-asm
242 * Added the rmi and corbaname URL context factories for JNDI.
243 * Fixes in the JNDI InitialContext now allows to plug-in user implementation.
244 * Removed currentClassLoader method from
245 vm/reference/java/io/ObjectInputStream.java.
246 * Added firstNonNullClassLoader method to
247 vm/reference/gnu/classpath/VMStackWalker.java. VMs are encouraged to
248 provide a more efficient implementation.
249 * Added aton method to vm/reference/java/net/VMInetAddress.java.
250 * NetworkInterface has been implemented for systems that provide the
251 `getifaddrs' function.
252 * java.nio.channels.Selector implementations have been added that use
253 the kqueue notification mechanism on Mac OS X and *BSD, and that use
254 the epoll notification mechanism on Linux 2.6.
255 * java.nio has been refactored to support more non-blocking operations
256 natively. Blocking IO classes have been refactored to call
257 non-blocking classes. Non-blocking accepts, connects, and
258 scatter-gather IO should now be better supported.
259 * HTML support for Swing has been greatly enhanced.
261 Runtime interface changes:
263 * java.net.VMNetworkInterface and java.net.NetworkInterface have been
264 updated to keep native-modified state in the former, and to simplify
265 the native code in our reference implementation.
266 * gnu.java.nio.VMChannel has been expanded to better support native
267 non-blocking IO. Most native state data (such as file descriptor
268 integers) has been abstracted away into private state in the runtime
270 * gnu.java.nio.VMPipe has been similarly changed.
271 * gnu.java.net.VMPlainSocketImpl has been changed to remove some
272 functionality now provided by VMChannel; datagram socket-specific
273 methods have also been moved here, deprecating VMPlainDatagramSocketImpl.
274 * gnu.java.net.VMPlainDatagramSocketImpl removed.
276 New in release 0.92 (Aug 9, 2006)
278 * GConf is used as a backend for java.util.prefs. GNU Classpath
279 thanks to Mario Torre for this contribution!
280 * libjawtgnu.so has been renamed libjawt.so for binary compatibility.
281 libjawt.so should be installed in a VM-specific directory rather
282 than directly in /usr/lib. Proprietary VMs put their libjawt.so
283 implementations in VM-specific directories but search /usr/lib first.
284 If GNU Classpath's libjawt.so is installed in /usr/lib it will create
285 problems for people who use a proprietary VM to run AWT Native
286 Interface applications.
287 * The GdkGraphics2D backend has been made the default. There is no
288 longer an explicit dependency on Cairo, the --enable-gtk-cairo
289 configure option is gone, and GTK 2.8 or higher is now required to
291 * A Mozilla plugin, 'gcjwebplugin', is now included. It introduces a
292 dependency on the Mozilla plugin support headers and libraries.
293 * New java implementations of png and gif imageio readers and writers.
294 * A tools.texinfo document has been created and now includes
300 * Several new tools are now included:
307 A new configure option --enable-tool-wrappers causes wrapper
308 binaries to be built for VMs that support the JNI Invocation API.
309 * We've imported the JSR 166 (concurrency) reference implementation.
310 * javax.sound.midi providers have been added to read and
311 write standard MIDI files.
312 * A javax.sound.sampled .au and .wav file readers have been added.
313 * New Java Virtual Machine Tool Interface header, jvmti.h.
314 * AWT peers for X Windows based on Escher (a pure java X protocol
315 implementation) have been added. So far it supports AWT 1.1 style
316 Graphics, image loading via ImageIO (PNG, GIF and BMP images in this
317 release), top level components as well as mouse and keyboard input.
318 It is capable of running many Swing applications. Graphics2D and
319 AWT widgets are not yet supported with this peer set.
320 * GConf based util.peers backend (see the --enable-gconf-peer and
321 --enable-default-preferences-peer configure options).
322 * Support for batch importing trusted certificates for use with ssl
323 connections (see script/import-cacerts.sh).
324 * NIO scatter-gather channel support.
326 Runtime interface changes:
328 * A new class, VMURLConnection, is used to implement
329 URLConnection.guessContentTypeFromStream. The reference
330 implementation uses libmagic (and falls back to doing nothing if
331 libmagic is not available).
332 * The method gnu.java.io.PlatformHelper.toCanonicalForm() has been
333 replaced with a JNI implementation of VMFile.toCanonicalForm() for
335 * A new class, VMRuntimeMXBeanImpl, is used to implement
336 the low-level support of the runtime management bean.
337 VMs should use it to supply the input arguments and start
338 time of the VM. In addition, one of sun.boot.class.path
339 or java.boot.class.path should be defined by the VM to
340 support the optional boot class path access functionality.
341 * The Unsafe class was moved back to the place expected by the JSR 166
342 reference implementation. We've also added a couple other new VM
343 classes to support the JSR 166 code -- sun.reflect.Reflection and
344 sun.reflect.misc.ReflectUtil.
345 * Another new class, VMClassLoadingMXBeanImpl, is used to implement
346 the low-level support of the class loading management bean.
347 VMs need to supply it with information about how many classes
348 are currently loaded, how many have been unloaded and whether
349 verbose class loading output is on or off. Provision should also
350 be made for the latter to be toggled at runtime.
351 * VMThreadMXBeanImpl is used to implement the low-level support
352 of the thread management bean. Providing this interface requires
353 providing a fair amount of information about threads, including
354 optional time and contention monitoring, and instances of the
355 new ThreadInfo class in java.lang.management. getState() has also
356 been added to the VMThread interface; this is required by the bean
357 as well as java.lang.Thread.
358 * VMMemoryMXBeanImpl is used to implement the low-level support
359 of the memory management bean. Providing this interface requires
360 providing information about the levels of heap and non-heap memory,
361 and the number of objects eligible for garbage collection.
362 * VMCompilationMXBeanImpl is used to allow for optional compilation
363 time support for Just-In-Time compilers.
364 * VMMemoryPoolMXBeanImpl is used to implement the low-level support
365 of the memory pool beans. Providing this interface requires
366 providing memory usage statistics for each supported bean.
367 * VMManagementFactory provides the names of the memory pools,
368 memory managers and garbage collectors maintained by the virtual
369 machine. These are used to create the beans by the ManagementFactory.
370 * VMMemoryManagerMXBeanImpl and VMGarbageCollectorMXBeanImpl provide
371 low-level support for memory managers (including the specific subclass
372 of garbage collecting memory managers). The interfaces for these
373 require no more than enumerating the number of collections and the
374 time spent (for garbage collectors) and a relationship to the memory
375 pools (for all), along with a validity check.
377 New in release 0.91 (May 15, 2006)
379 * Experimental activation (java.rmi.activation) support, including RMI
380 activation daemon and persistent naming service tools.
381 * Experimental printing support: The API implementation of the javax.print
382 packages has been finished and work on the printing provider implementation
383 started. Currently supported features from the Java Print Service API are
384 print service discovery (CUPS registered printers), single document print
385 jobs and support for client-formatted print data. An example application
386 (see: examples/gnu/classpath/examples/print/Demo) has been added to show
387 the API usage for service discovery and printing of files.
388 * The GTKToolkit now gives access to the both the system clipboard and
390 * Custom mouse cursor support has been added to the gtk+ peers. And cursors
391 can now also be set on light-weight components.
392 * Free Swing improvements: Support for OceanTheme has been mostly completed
393 and turned on as default Metal theme. X11-style Copy and Paste behavior in
394 text components with the middle mouse button. Support cursor changes on
395 various components when resizing. Support for Look and Feel window
396 decorations has been added.
397 * Updated locale data information to CLDR 1.3.
398 * Various bugs in Classpath's SecureRandom implementations have been
399 fixed; that class now respects the "securerandom.source" security
400 property and the "java.security.egd" system property.
401 * Support for assistive technologies has been added to AWT and Swing.
403 Runtime interface changes:
405 * A new class, VMArray, is now available which separates the native
406 array creation method from java.lang.reflect.Array.
407 * A new class, gnu.classpath.Unsafe, is provided for handling the
408 new low-level operations required by java.util.concurrent.
409 * The reference implementations of Method, Constructor, and Field
410 now have a new native getModifiersInternal() method. The public
411 getModifiers() method in each case has been rewritten in terms of
413 * The reference implementation of VMThread has been updated to handle
414 the new Thread.UncaughtExceptionHandler support.
415 * A new class, java.security.VMSecureRandom, is now available that is
416 used to generate random numbers for seeding cryptographically-secure
417 pseudo-random number generators.
418 * VMClass and the reference implementations of Method, Constructor and Field
419 now include a number of 1.5 methods imported from the generics branch.
420 These are all optional (in the sense that the methods associated with them
421 merely fail on use if the VM doesn't provide them, rather than the
422 VM failing altogether), but VMs should aim to support them where possible.
423 * The implementation of java.lang.instrument has been merged to the main
424 branch from the generics branch.
425 * The VM interfaces of the main branch and the generics branch are now
426 consistent with one another. As a result, the main branch includes an
427 additional environ() function in VMSystem and an additional argument has
428 been added to nativeSpawn() in VMProcess.
429 * Annotation support is now available in the main branch, if the VM supports
430 it. The VM should implement VMClass.getDeclaredAnnotations,
431 Constructor.getAnnotation, Constructor.getDeclaredAnnotations,
432 Field.getAnnotation, Field.getDeclaredAnnotations, Method.getAnnotation and
433 Method.getDeclaredAnnotations.
434 * java.lang.Package now has a new constructor that takes the defining
435 ClassLoader as an extra argument. If you use a custom version of
436 VMClassLoader, please switch it to use this constructor.
437 * The reference implementation of VMClassLoader.getBootPackages() now
438 reads the META-INF/INDEX.LIST resource using the java.boot.class.path
441 New in release 0.90 (March 6, 2006)
443 * Free Swing improvements: JTable columns are rearrangeable and
444 resizeable with mouse. Painting and scrolling are now much
445 faster. Plain text components now support highlighting and
446 copy+paste to the system clipboard. Support for styled text has been
447 improved, including some very basic HTML support. JFileChooser is
448 now usable. Global event dispatching has been implemented. Memory
449 consumption of Swing components has been reduced. Lots of general
450 bugfixes. Added new system property to turn off Graphics2D use in
451 Swing, even if Graphics2D is available: gnu.javax.swing.noGraphics2D
453 * AWT. Improved support for mixing "lightweight" and "heavyweight"
454 Components in Containers. Better support for dynamically updated
455 menus. Better 1.0 event model support for Scrollbars. Better class
456 documentation of gtk+ awt peers.
458 * GNU Crypto and Jessie have been merged into GNU Classpath; this
459 provides Classpath with a wide array of cryptographic algorithms
460 (ciphers, message digests, etc.) and implementations of SSL version
461 3 and TLS version 1. These roughly complement the public
462 `java.security.' `javax.crypto,' and `javax.net.ssl' packages, and
463 are service providers implementing the underlying algorithms.
465 * Updated HTTP and FTP URLConnection protocol handlers. HTTPS support
468 * Unicode 4.0.0 is supported. Character now includes support for using
469 ether a char or an int to identify code points.
471 * More correct handling of Object methods and serialization support
472 for Proxy and abstract classes.
474 * The new folder tools includes GIOP and RMI stub and tie source code
475 generators, IOR parser and both transient and persistent GIOP naming
478 * Added experimental support for dynamic creation of the RMI stubs
479 using proxy classes. The rmic compiler is no longer required (unless
480 for research and specific stubs).
482 * XML validaton support for RELAX NG and W3C XML schema namespace
483 URIs. RELAX NG pluggable XML schema datatype library API and an
484 implementation for XML Schema Datatypes
485 (http://www.w3.org/TR/xmlschema-2/).
487 * Updated StAX implementaton to be compatible with final JSWDP 2.0.
489 * The default back end for java.util.prefs has been changed. The new
490 default is capable of saving and restoring preferences to and from
493 * javax.imageio.plugins.bmp implementation.
495 * Added --enable-collections configure option which builds
496 "collections.jar", a 1.1 VM compatibility jar.
498 * gnu.regexp updated from GNU/Posix syntax to support util.regex
499 syntax including various Unicode blocks, categories and properties.
501 Runtime interface changes:
503 * A new class, VMMath, is now available which separates the native
504 mathematical functions from java.lang.Math. The previous fdlibm
505 implementation now forms the reference material for this class.
507 * Updated VMObjectInputStream class to return Thread context class
508 loader if no other class loader is found.
510 * Updated documentation on InstrumentationImpl in vmintegration guide.
512 New in release 0.20 (Jan 13, 2006)
514 * New StAX pull parser and SAX-over-StAX driver. Lots of DOM, SAX/StAX,
515 XPath and XSLT improvements. Support for XInclude and XML Base added.
516 Conformance is now regularly tested against various test-suites at
517 http://builder.classpath.org/xml/ See also doc/README.jaxp.
519 * Full beans XMLEncoder implementation.
521 * javax.sound.sampled implementation.
523 * javax.print.attribute and javax.print.event implementated.
525 * Lots of new datatransfer, print swing and swing.text work and optimization.
527 * Additional 1.5 support. Including new (separate) generic branch release.
529 * SecurityManager cleanups and start of review of all Permission checks
530 (includes adding lots of new checks to the Mauve test-suite).
532 * Buildable on cygwin.
534 * Fully buildable as "in-workspace" library-plus-vm inside (native) Eclipse
535 see http://developer.classpath.org/mediation/ClasspathHackingWithEclipse
537 * Full example that shows a real world CORBA and Free Swing implementation.
538 See examples/gnu/classpath/examples/CORBA/swing/README.html
540 * A list of bug fixes can be found at:
541 http://gcc.gnu.org/bugzilla/buglist.cgi?product=classpath&target_milestone=0.20
543 Runtime interface changes:
545 * New method VMStackWalker.getClassLoader() was added to avoid an infinite
546 loop between getCallingClassLoader() and Class.getClassLoader().
548 * The included fdlibm implementation has seen several cleanups to handle
549 new architectures and namespacing issues (in particular for ppc, darwin
550 and non-C99 compilers). Please double check any arithmetic test against
551 new platforms/runtimes.
553 * The gnu.java.net.Plain[Datagram]Socket implementations have been
554 turned into VM reference classes with JNI/Posix implementations.
556 New in release 0.19 (Nov 2, 2005)
558 * The Swing RepaintManager has been reworked for more efficient painting,
559 especially for large GUIs.
561 * The Swing layout manager OverlayLayout has been implemented, the BoxLayout
562 has been rewritten to make use of the SizeRequirements utility class and
563 caching for more efficient layout.
565 * Improved accessibility support for Swing.
567 * The java.net.HttpURLConnection implementation no longer buffers the
568 entire response body in memory. This means that response bodies
569 larger than available memory can now be handled.
571 * The Andrew Watson, Vice President and Technical Director of the Object
572 Management Group, has officially assigned us 20 bit Vendor Minor Code Id:
573 0x47430 ("GC") that will mark remote Classpath - specific system exceptions.
574 Obtaining the VMCID means that GNU Classpath now is a recogniseable type of
575 node in a highly interoperable CORBA world.
577 * Classpath now includes the first working draft to support the RMI over
578 IIOP protocol. The current implementation is capable for remote invocations,
579 transferring various Serializables and Externalizables via RMI-IIOP protocol.
580 It can flatten graphs and, at least for the simple cases, is interoperable
583 * Qt4 configury switches for OS-X. Additional to the --enable-qt-peer, OS-X
584 users with a Qt4 installation can build the qt-peers with the argument
585 --with-qt4dir=<Qt4-installation-dir>.
587 * Significant progress has been made in the implementation of the
588 javax.swing.plaf.metal.* package, with most UI delegates in a working state
589 now. Please test this with your own applications and provide feedback that
590 will help us to improve this package.
592 * The GUI demo (gnu.classpath.examples.swing.Demo) has been extended to
593 highlight various features in our free-swing implementation. And includes
594 a look and feel switcher (Metal default, Ocean or GNU).
596 Runtime interface changes:
598 * Changed implementation of VMClassLoader.getPackage(s) : new method
599 VMClassLoader.getBootPackages should be implemented by the vm, and sould
600 return a string array of boot package names ("java.lang", "java.net", ...).
601 Feedback from vm implementors for usability and relevance of the
602 getBootPackages method would be greatly appreciated.
604 New in release 0.18 (Sep 6, 2005)
606 * GNU JAWT implementation, the AWT Native Interface, which allows direct
607 access to native screen resources from within a Canvas's paint method.
608 GNU Classpath Examples comes with a Demo, see examples/README.
609 * awt.datatransfer updated to 1.5 with supports for FlavorEvents.
610 The gtk+ awt peers now allow copy/paste of text, images, uris/files
611 and serialized objects with other applications and tracking
612 clipboard change events with gtk+ 2.6 (for gtk+ 2.4 only text and
613 serialized objects are supported). A GNU Classpath Examples
614 datatransfer Demo was added to show the new functionality.
615 * org.omg.PortableInterceptor and related functionality in other packages
617 - The sever and client interceptors work as required since 1.4.
618 - The IOR interceptor works as needed for 1.5.
619 * The org.omg.DynamicAny package is completed and passes the prepared tests.
620 * The Portable Object Adapter should now support the output of the
621 recent IDL to java compilers. These compilers now generate servants and
622 not CORBA objects as before, making the output depended on the existing
623 POA implementation. Completing POA means that such code can already be
624 tried to run on Classpath. Our POA is tested for the following usager
626 - POA converts servant to the CORBA object.
627 - Servant provides to the CORBA object.
628 - POA activates new CORBA object with the given Object Id (byte array)
629 that is later accessible for the servant.
630 - During the first call, the ServantActivator provides servant for this
631 and all subsequent calls on the current object.
632 - During each call, the ServantLocator provides servant for this call
634 - ServantLocator or ServantActivator forwards call to another server.
635 - POA has a single servant, responsible for all objects.
636 - POA has a default servant, but some objects are explicitly connected
637 to they specific servants.
638 The POA is verified using tests from the former cost.omg.org.
639 * The javax.swing.plaf.multi.* package is now implemented.
640 * Editing and several key actions for JTree and JTable were implemented.
641 * Lots of icons and look and feel improvements for Free Swing basic and
642 metal themes were added. Try running the GNU Classpath Swing Demo in
643 examples (gnu.classpath.examples.swing.Demo) with:
644 -Dswing.defaultlaf=javax.swing.plaf.basic.BasicLookAndFeel
645 -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel
646 * Start of styled text capabilites for java.swing.text.
647 * NIO FileChannel.map implementation, fast bulk put implementation for
648 DirectByteBuffer (speeds up this method 10x).
649 * Split gtk+ awt peers event handling in two threads and improve gdk lock
650 handling (solves several AWT lock ups).
651 * Speed up awt Image loading.
652 * Updated TimeZone data against Olson tzdata2005l.
653 * Make zip and jar UTF-8 "clean".
654 * "native" code builds and compiles (warning free) on Darwin and Solaris.
656 Runtime interface changes:
658 * All native resource "pointers" in the VM interface classes are now exposed
659 as gnu.classpath.Pointer objects. This might impact runtimes that
660 optimize and support java.nio.DirectByteBuffers. Creating these classes
661 and accessing the contents as void * pointers for the native reference JNI
662 implementation is done through the JCL_NewRawDataObject and JCL_GetRawData
664 * Simplified the Class/VMClass interface.
665 * Removed loadedClasses map from ClassLoader. It's now the VMs responsibility
666 to manage the list of defined and loaded classes for each class loader.
667 * Moved native methods from java.lang.reflect.Proxy to VMProxy.
668 * Added hook to VMClassLoader to allow VM to do class caching.
670 New Untested/Disabled Features:
672 The following new features are included, but not ready for production
673 yet. They are explicitly disabled and not supported. But if you want
674 to help with the development of these new features we are interested
675 in feedback. You will have to explicitly enable them to try them out
676 (and they will most likely contain bugs). If you are interested in any
677 of these then please join the mailing-list and follow development in
680 * QT4 AWT peers, enable by giving configure --enable-qt-peer.
681 * JDWP framework, enable by deleting the jdwp references from
682 lib/standard.omit and vm/reference/standard.omit. No default
683 implementation is provided. Work is being done on gcj/gij integration.
684 * StAX java.xml.stream, enable by deleting the gnu.xml.stream and
685 java.xml.stream references in lib/standard.omit.
687 New in release 0.17 (Jul 15, 2005)
689 * gnu.xml fix for nodes created outside a namespace context.
690 * Add support for output indenting and cdata-section-elements output
691 instruction in xml.transform.
692 * xml.xpath corrections for cases where elements/attributes might have
693 been created in non-namespace-aware mode. Corrections to handling of
694 XSL variables and minor conformance updates.
695 * DefaultMutableTreeNode preorder, postorder, depthFirst and breadthFirst
696 traversal enumerations implemented.
697 * JInternalFrame colors and titlebar draw properly.
698 * JTree is working up to par (icons, selection and keyboard traversal).
699 * JMenus were made more compatible in visual and programmatic behavior.
700 * JTable changeSelection and multiple selections implemented.
701 * JButton and JToggleButton change states work properly now.
702 * JFileChooser fixes.
703 * revalidate and repaint fixes which make Free Swing much more responsive.
704 * Correctly handle system call interrupts and timeouts in native nio
706 * MetalIconFactory implemented.
707 * Handle image loading errors correctly for gdkpixbuf and MediaTracker.
708 * Added Tree World to GNU Classpath examples Free Swing demo.
709 * FileChannel.lock() and FileChannel.force() implemented.
710 * java.util.logging.FileHandler now rotates files.
711 * Better handle GDK lock. Properly prefix gtkpeer native functions (cp_gtk).
712 * Corba bug fixes and documentation updates.
713 * Updated gcj build infrastructure.
714 * Documentation fixes all over the place.
715 See http://developer.classpath.org/doc/
716 * VM Integration Guide updates with a full section on VM/Classpath hooks.
718 New in release 0.16 (Jun 30, 2005)
720 * Better GTK scrollbar peer implementation when using GTK >= 2.6.
721 * GdkGraphics2D has been updated to use Cairo 0.5.x APIs.
722 * BufferedImage and GtkImage rewrites. All image drawing operations
723 should now work correctly (flipping requires gtk+ >= 2.6)
724 * Future Graphics2D, Image and Text work is documented at:
725 http://developer.classpath.org/mediation/ClasspathGraphicsImagesText
726 * Free Swing Top-Level Compatibility. JFrame, JDialog, JApplet,
727 JInternalFrame, and JWindow are now 1.5 compatible in the sense that you
728 can call add() and setLayout() directly on them, which will have the same
729 effect as calling getContentPane().add() and getContentPane().setLayout().
730 * The JTree interface has been completed. JTrees now recognizes mouse clicks
731 and selections work, but the visual implementation is not yet complete.
732 Work on expansion and collapsing of the tree nodes is being implemented.
733 * BoxLayout works properly now.
734 * Fixed GrayFilter to actually work.
735 * Metal SplitPane implemented.
736 * Lots of free swing text and editor stuff work now.
738 * When gtk+ 2.6 or higher is installed the default log handler will produce
739 stack traces whenever a WARNING, CRITICAL or ERROR message is produced.
741 * The CORBA implementation is now a working prototype that should support
742 features up till 1.3 inclusive.
743 We would invite groups writing CORBA dependent applications to
744 try Classpath implementation, reporting any possible bugs.
746 The CORBA prototype is interoperable with Sun's implementation v 1.4,
747 transferring object references, primitive types, narrow and wide
748 strings, arrays, structures, trees, abstract interfaces and
749 value types (feature of CORBA 2.3) between these two platforms.
750 The remote exceptions are transferred and handled correctly.
751 The stringified object references (IORs) from various sources are
753 The transient (for current session) and permanent (till jre restart)
755 Both Little and Big Endian encoded messages are accepted.
756 The implementation is verified using tests from the former cost.omg.org.
757 The current release includes working examples (see the examples directory),
758 demonstrating the client-server communication, using either CORBA Request
759 or IDL-based stub (usually generated by a IDL to java compiler).
760 These examples also show how to use the Classpath CORBA naming service.
761 The IDL to java compiler is not yet written, but as our library must be
762 compatible, it naturally accepts the output of other idlj implementations.
764 * New --with-vm-classes configure option, and new 'build' setting
765 for --with-glibj. (Only for integrators.)
767 Runtime interface changes:
769 * Start of a generic JDWP framework in gnu/classpath/jdwp.
770 This is unfinished, but feedback (at classpath@gnu.org) from runtime
771 hackers is greatly appreciated. Although most of the work is currently
772 being done around gcj/gij we want this framework to be as VM neutral as
773 possible. Early design is described in:
774 http://gcc.gnu.org/ml/java/2005-05/msg00260.html
775 * Native method VMClass.getModifiers() now takes an additional
777 * Deprecated native method VMClassLoader.defineClass(ClassLoader,
778 String, byte[], int, int) has been replaced by
779 VMClassLoader.defineClass(ClassLoader, String, byte[], int, int,
781 * VMClassLoader.loadClass(String name, boolean resolve) is now native,
782 replacing the former version which just returned null.
783 * Deprecated native method VMClassLoader.getPrimitiveClass(String) has
784 been replaced by new native method VMClassLoader.getPrimitiveClass(char).
785 * Previously empty implementations of methods VMThread.countStackFrames(),
786 VMThrowable.fillInStackTrace(), and VMThrowable.getStackTrace() have
787 been removed; these methods are now native methods.
788 * Fields "exceptionTypes" and "parameterTypes" have been removed from
789 Contructor.java and getExceptionTypes() and getParameterTypes() are
792 New in release 0.15 (Apr 29, 2005)
794 * The old character encoding framework (gnu.java.io.EncodingManager)
795 has been replaced by a system based completely on nio.charset
796 providers. Many converters have been added, both the io, lang and nio
797 frameworks now use the same set of converters and the whole character
798 stream framework (Readers and Writers) have been optimized. For some
799 workloads this leads to 2x till 20x speedups.
801 The default charsets supported are:
803 Cp424, Cp437, Cp737, Cp775, Cp850, Cp852, Cp855, Cp857, Cp860, Cp861,
804 Cp862, Cp863, Cp864, Cp865, Cp866, Cp869, Cp874, ISO_8859_1, ISO_8859_13,
805 ISO_8859_15, ISO_8859_2, ISO_8859_3, ISO_8859_4, ISO_8859_5, ISO_8859_6,
806 ISO_8859_7, ISO_8859_8, ISO_8859_9, KOI_8, MS874, MacCentralEurope,
807 MacCroatian, MacCyrillic, MacDingbat, MacGreek, MacIceland, MacRoman,
808 MacRomania, MacSymbol, MacThai, MacTurkish, US_ASCII, UTF_16, UTF_16BE,
809 UTF_16Decoder, UTF_16Encoder, UTF_16LE, UTF_8, UnicodeLittle, Windows1250,
810 Windows1251, Windows1252, Windows1253, Windows1254, Windows1255,
811 Windows1256, Windows1257, Windows1258.
813 Many more encoding are supported through the new IconvProvider
814 depending on the platform iconv support. GNU libiconv is recommended.
815 The IconvProvider is currently not enabled by default. To enable it
816 define the system property gnu.classpath.nio.charset.provider.iconv=true.
817 Some runtimes might choose to enable this by default by setting it
818 through VMSystemProperties. We would like to get feedback on whether
819 enabling or disabling the IconvProvider by default results in the
822 * Free swing metal and pluggable look and feels have been improved.
823 The GNU Classpath free swing example can now be run with different
824 "skins" by setting the system property swing.defaultlaf to the GNU,
825 Basic or Metal look and feel.
827 * Some of the org.omg.CORBA classes and packages have now been
828 implemented. The Savannah bug tracker contains additional tasks for
829 which we are seeking help.
831 * Fixed compatibility problems in the java.beans which affected
832 Eclipse's Visual Editor Project.
834 * New completely lock free (Inheritable)ThreadLocal implementation.
836 * javax.swing.text.rtf framework added which can handle simple (plain)
839 * Support for parsing html files into Level 2 Document Object Model
840 (org.w3c.dom.html2 and javax.swing.text.html.parser). And a start of
841 javax.swing.text.html framework added.
843 Runtime interface changes:
845 * jni.h changed to better support compiling runtimes implementing jni;
846 see VM integration guide for details.
847 * New --enable-default-toolkit option to configure can be used to set
848 the fully qualified class name of the default AWT toolkit to use.
849 If not given, the old default of gnu.java.awt.peerk.gtk.GtkToolkit
851 * New --disable-core-jni option can be used to disable building the
852 "core" JNI libraries. This is primarily useful if your VM can use the
853 Gtk peers but not the core JNI libraries.
854 * New system property "gnu.classpath.boot.library.path" can be specified
855 to define the location of the JNI libraries. It is by all means meant
856 ONLY for VM implementors and GNU Classpath hackers. See the hacking
857 guide for more information.
858 * The helper methods currentLoader() and allocateObject() for
859 java.io.ObjectInputStream have been moved to a VMObjectInputStream class.
860 Reference implementations are provided.
861 * java.net.InetAddress now uses VMInetAddress for runtime/platform
862 specific methods getLocalHostname(), getHostByAddr() and
863 getHostByName(). java.net.NetworkInterface now uses VMNetworkInterface
864 for runtime/platform specific getInterfaces() support. Default
865 (Posix/GNU JNI) implementations are provided.
866 * VMClass has a new method getModifiers(Class, boolean) which can be
867 used to get the real modifiers for an inner class or the ones
868 specified by the InnerClasses attribute.
869 * All (possible) runtime specific methods of Object and Double are now
870 in VMObject and VMDouble. Where possible generic reference
871 implementations are provided.
872 * The reference implementation of VMClassLoader now handles zip files
873 on the boot loader class path in getResources().
877 New in release 0.14 (Feb 25, 2005)
879 * Character encoders and decoders have been added for:
880 iso-8859-6 (arabic), iso-8859-7 (greek), iso-8859-8 (hebrew),
881 iso-8859-9 (latin-5), iso-8859-13, iso-8859-15 (latin-9), cp1047 (ebcdic),
882 ebcdic-xml-us,ascii, windows-1250, windows-1252, UTF-16BE (Big Endian),
883 UTF-16LE (Little Endian), UTF-32BE (Big Endian), UTF-32LE (Little Endian).
884 * Full documentation for all classes can be generated (again) by using
885 the --with-gjdoc configure option.
886 * javax.awt.imageio support through gdkpixbuf.
888 Runtime interface changes:
890 * VMSecurityManager has been replaced by gnu.classpath.VMStackWalker.
891 currentClassLoader() is no longer needed, and there are also two new
892 methods with non-native implementations. VM implementors are encouraged
893 to provide more efficient versions.
894 * VMRuntime.nativeLoad() now takes an additional ClassLoader parameter.
896 New in release 0.13 (Jan 6, 2005)
898 * The http url protocol handler has been replaced with a full HTTP/1.1
899 version from GNU inetlib.
900 * A new ftp url protocol handler has been added also from GNU inetlib.
901 * java.beans has been updated to 1.4 including support for XMLEncoder
903 * The java.util.Locale support is now based on the Common Locale Data
904 Repository (CLDR) Project (see http://www.unicode.org/cldr/).
905 GNU Classpath provides support for more than 250 locales now.
906 This new support is experimental and the GNU Classpath hackers are
907 working together with runtime developers and the unicode consortium
908 to improve them in the future.
909 If your runtime misdetects your locale or if the default locale gives
910 problems please try running with -Duser.language=en and -Duser.region=US
911 to fall back on a known good locale.
912 * Added implementations of javax.xml (JAXP 1.3), org.xml.sax (SAX2) and
913 org.w3c.dom (DOM Level 3) interfaces. It is possible to switch between
914 different implementations AElfred2, GNU DOM, GNU XSL, libxmlj SAX,
915 libxmlj DOM and libxmlj XSL by setting different system properties.
916 Also provided is a preliminary XPath 1.0 implementation.
917 The libxmlj versions are build around libxml2 and libxslt and have to
918 be enabled during build time by the --enable-xmlj configure flag.
919 The current support is equal to the last released GNU JAXP 1.3 release.
920 These packages will be maintained as part of the GNU Classpath core classes
921 in the future. For more information, conformance results and documentation
922 on selecting different implementations see doc/README.jaxp.
923 * More AWT accessible support.
924 * AWT gtk+ peers component layout, dialog placement, keyboard focus
925 handling and text positioning have been improved.
926 * ImageIO interfaces are more complete.
927 * JList, JTable and JTree have been hugely improved.
928 * java.awt.Robot support with GdkRobot in the gtk+ awt peers.
929 Needs XTest Extension (libXtst) XServer support.
930 * New --disable-examples configure argument.
932 Runtime interface changes:
934 * Added a new method (VMRuntime.enableShutdownHooks) that enables the VM
935 to lazily register an exit handler.
936 * The java.lang.Class constructor now automatically sets the protection
937 domain for array classes, based on the protection domain of the component
939 * New gnu.classpath.VMSystemProperties class. This replaces the
940 system properties initialization in VMRuntime. Note that it is
941 now the VMs responsibility to set one additional property:
942 gnu.cpu.endian should be set to "big" or "little".
943 * VMRuntime.nativeGetLibname() has been renamed to VMRuntime.mapLibraryName()
944 and has only one argument, the name of the library.
945 * String and StringBuffer now call VMSystem.arraycopy() directly and don't
946 go through java.lang.System. Be careful to not initialize java.lang.System
947 early in the bootstrap sequence in your VM runtime interface classes.
948 * Some (wrong) documentation about the behavior of VMThread.sleep(0, 0)
949 has been updated. Also, VMThread.sleep() now has a default non-native
950 implementation, but it is a generic implementation that ignores the
951 nano-seconds argument. Runtime hackers are encouraged to provide a more
953 * There is prelimenary support for nio direct byte buffers.
954 See VMDirectByteBuffer. Please contact the GNU Classpath mailinglist when
955 you add support for this to your runtime.
957 New in release 0.12 (Nov 14, 2004)
959 * GNU Classpath's JAR implementation now has preliminary support for
960 signed entries, for so called "signed JAR" file support. Signed JAR
961 files are one of the key security features of managed runtimes, and
962 allows code to run privileged given unforgeable proofs of identity.
963 * A much improved version of X.509 certificates has been added,
964 including a robust certificate path checking algorithm. Also
965 included is an implementation of the RSA signature scheme.
966 * Full java.awt.color implementation, with all standard ICC profiles,
967 except for PhotoYCC color space.
968 * java.beans 1.4 updates and bug fixes.
969 * java.awt.image support updated to 1.4.
970 * Improved build process. Uses less memory with gcj and C code is
971 buildable with -Werror on most platform. Please configure with
972 --enable-Werror and report any remaining issues.
973 * Big-endian (PowerPC) fixes for native awt GTK+ peers.
974 * Checkstyle support, see scripts/checkstyle-config.xml.
975 * Better AWT focus management fro GTK+ peers.
976 * Much faster and better fonts support
977 (for both gdk Graphics and cairo Graphics2D)
978 * AWT Choice fixes for hidden components.
979 * HTTP Connection Handler fixes for POST support.
980 * Much fuller collection documentation.
981 * Lots of Calendar bug fixes.
982 * More javax.imageio support.
983 * Better AWT Help MenuBar support.
984 * Lookahead support for regular expressions.
985 * Serialization object stream fixes for multiple ClassLoader scenarios.
986 * Swing TabbedPane, ColorChooser and ComboBox improvements.
987 * Start of JTree functionality.
988 * Improved Eclipse 3 support for GNU Classpath based runtimes.
990 Runtime interface Changes:
992 * New --enable-java-lang-system-explicit-initialization configuration
993 option. (Warning, will be replaced in next release, please consult
995 * The reference implementation of VMClassLoader has default
996 implementations for getResource(s) and provides support for a new
997 default getSystemClassLoader implementation.
999 New in release 0.11 (Sep 13, 2004)
1001 * javax.swing.Spring and SpringLayout support.
1002 * Added pluggable look and feel support for BasicTextFieldUI and
1003 BasicToolBarSeparatorUI.
1004 * java.swing.text support for (Default and Layered) Highlighter, FieldView,
1005 PlainView, TabExpander and TabableView added.
1006 * Start of JTable and JTree implementation.
1007 * Internal Swing frames work.
1008 * JMenu and JPopupMenu work.
1009 * New gtk+ AWT FileDialog peer now based on gtk+2.4 or higher.
1010 * java.awt.image LookupTables and kernel support.
1011 * Improved java.awt.image.BufferedImage support.
1012 * AWT 1.0 event model support.
1013 * GNU Classpath now comes with some example programs (see examples/README).
1014 * New javax.crypto, javax.crypto.interfaces, javax.crypto.spec, javax.net,
1015 javax.net.ssl, javax.security.auth, javax.security.auth.callback,
1016 javax.security.auth.login, javax.security.auth.x500, javax.security.sasl
1017 and org.ietf.jgss packages are now officially part of GNU Classpath.
1018 Extra crypto algorithms can be obtained from the GNU Crypto project,
1019 a full TLS implementation is provided by the Jessie project.
1020 http://www.gnu.org/software/gnu-crypto/
1021 http://www.nongnu.org/jessie/
1022 * Frame.setIconImage() support.
1023 * AWT GDKGraphics scaling.
1024 * New configure flag --enable-gtk-cairo to build Graphics2D implementation
1025 build on cairo and pangoft2. Enabled at runtime by defining the system
1026 property gnu.java.awt.peer.gtk.Graphics=Graphics2D.
1027 * javax.swing.JSpinner implemented.
1028 * Extensive documentation update for java.util collection classes.
1029 * java.awt.geom completed. Area, Arc2D, Ellipse2D and Line2D implemented.
1030 * GNU JAXP is no longer included with GNU Classpath. Runtime, compiler and
1031 tool integrators are encouraged to directly integrate GNU JAXP.
1032 This release has been tested against GNU JAXP 1.1.
1033 http://www.gnu.org/software/classpathx/jaxp/jaxp.html
1034 * JColorChooser, JComboBox and JTextField implemented, including example
1035 uses in GNU Classpath Examples swing Demo.
1037 Runtime interface Changes:
1039 * java.lang.Compiler now uses the new java.lang.VMCompiler; there is
1040 a reference implementation that most VMs can use.
1041 * java.lang.VMSystem has a new getenv(String) method and a reference C/JNI
1042 implementation that should work on most Posix like systems.
1043 * java.util.TimeZone has been split into a platform independent class and
1044 a platform dependent class VMTimeZone. GNU Classpath comes with a generic
1045 way to get at the default time zone for Posix/GNU-like platforms.
1046 * [VM]AccessController improvements. In particular it handles
1047 `doPrivileged' calls better, and allows for recursive `doPrivileged'
1048 calls in the same Thread. (see vm/reference/java/security/)
1050 New in release 0.10 (Jul 9, 2004)
1052 * java.net.URL now uses application classloader to load URLStreamHandlers
1053 and reuses URLStreamHandlers when URL is reset (but protocol isn't changed).
1054 * java.io.File.deleteOnExit() implementation.
1055 * java.text multiple new features and bug fixes
1056 (only 2 out of the 1000+ java.text Mauve tests now fail).
1057 * Better (non-black) default AWT System colors.
1058 * AWT lists use GTK treeviews.
1059 * Proper AWT focus management has been implemented.
1060 * Swing menus and scrollpanes are beginning to work.
1061 * Swing splitpanes, dialogs and internal frames were added.
1062 * Swing repainting / double buffering was redone.
1063 * Font management and Pango DPI conversion fixes.
1064 * A lot of AWT imaging and event bugs have been picked out.
1065 * More of javax.swing.text has been implemented.
1066 * javax.swing.Timer has been reimplemented.
1067 * java.security.AccessController has been implemented
1068 (see runtime section).
1069 * The default java.lang.SecurityManager now uses AccessController.
1070 * New java.beans.Statement and Expression implementations.
1071 * Small FileChannel implementation speed improvement for traditional
1073 * Regenerated all included JNI header files with gcjh (3.5 CVS),
1074 removes extra extern modifier and allows stricter compiler warning.
1075 * More C code cleanups (-Wmissing-declarations, -Wmissing-prototypes and
1076 -Wstring-prototypes) and jni.h fixes (a few funtion prototype fixes,
1077 made it compilable with C++ compilers and jni.h got renamed from jni.h.in).
1078 * Double.toString() and Float.toString() now work properly on 64-bit
1080 * PPC Darwin, arm, x86-64 and s/390 JNI C code compilation fixes.
1081 * Build system refactored and removed old Japhar specific support.
1082 * The gnu.java.awt.EmbeddedWindow class has been improved, and now
1083 supports embedding AWT windows in other top-level X windows.
1084 This functionality is required by gcjwebplugin.
1085 * gcjwebplugin, an applet viewer that can be embedded into several web
1086 browsers, has been extensively tested with this release of classpath.
1087 (See http://www.nongnu.org/gcjwebplugin/)
1088 * Runtime environments based on GNU Classpath 0.10 should be able to
1089 start up Eclipse 3.0 out of the box now.
1091 Runtime interface Changes:
1093 * VMProcess.destroy() default implementation fixes.
1094 * Fixed the "portable native sync" code; it had been broken since
1095 Classpath release 0.06, when we upgraded to GTK+2.
1096 Classpath's AWT peers use GTK+. GTK+ uses GLIB. GLIB by default uses
1097 the platform's native threading model -- pthreads in most cases.
1098 If the Java runtime doesn't use the native threading model, then you should
1099 specify --portable-native-sync when configuring Classpath, so that GLIB will
1100 use the Java threading primitives instead. (For a superior alternative,
1102 * The VM can set the system property
1103 gnu.classpath.awt.gtk.portable.native.sync instead of using the
1104 --portable-native-sync configure-type option.
1105 See doc/vmintegration.texinfo for details.
1106 * We intend that the next release of GNU Classpath will require the VM
1107 to provide JNI 1.2. Classpath currently uses only JNI 1.1, except for
1108 one JNI 1.2 function: GetEnv(), in the JNI Invocation API.
1109 If this poses problems, please raise them on the classpath mailing list.
1110 * The reference implementation of VMThread.holdsLock(Object) now has
1111 a default implementation written in java. For efficiency and to
1112 prevent spurious wakeups a real 'native' runtime version can be supplied.
1113 * There is a new java.security.VMAccessController class that runtimes need
1114 to implement to properly support SecurityManagers. The default
1115 implementation that comes with GNU Classpath makes sure that ANY attempt
1116 to access a protected resource is denied when a SecurityManager is
1117 installed. Which is pretty secure, but also no very useful.
1118 Please see the documentation in
1119 vm/reference/java/security/VMAccessController.java,
1120 and please give feedback on the GNU Classpath mailinglist whether or not
1121 the current AccessController framework is flexible enough.
1123 New in release 0.09 (May 2, 2004)
1125 * Includes updated GNU JAXP version from 2004-02-01.
1126 * Native C code is now -ansi -pedantic (C89) clean and (almost) -Wall clean.
1127 * java.io is now implemented by delegating most tasks directly to java.nio.
1128 * Reworked/Optimized implementations of java.nio.Buffer and subclasses.
1129 * New javax.print, javax.print.attribute[.standard] and javax.print.event
1130 packages and classes.
1131 * java.text attributed iterators support.
1132 * New javax.imageio, javax.imageio.event and javax.imageio.spi packages and
1134 * GNU Classpath can now load service providers that are described via
1135 META-INF/services/* resources in extension JARs. This is useful for
1136 implementing the various APIs that are supposed to be extensible via
1137 custom plugins. For details, please see the documentation of
1138 gnu.classpath.ServiceFactory.
1139 Application developers are strongly discouraged from calling glibj
1140 internal packages. Instead, they might want invoke the newly implemented
1141 javax.imageio.spi.ServiceRegistry.lookupProviders, which is a standard
1142 method for loading plug-ins.
1143 * New developers wanting to help the GNU Classpath project might want to
1144 review the greatly expanded Hacker Guide included in the doc directory
1145 or online at http://www.gnu.org/software/classpath/docs/hacking.html
1146 Also the FAQ has been expanded. And when working from CVS you can now use
1147 a simple autogen.sh script to get all autotools magic done automagically.
1148 * New configure option --with-glibj which defines how to install the glibj
1149 class files as zip, as flat directory files or both (zip|flat|both)
1150 [default=zip]. When working with multiple runtimes some of which might
1151 not support bootstrap classes in zip files the --with-glibj=both option
1152 is recommended (this does take extra disc space).
1153 * Two big code drops from the libgcj gui branch updating various java.awt
1154 and javax.swing classes.
1155 * Multiple java.net.InetAdress fixes and java.rmi fixes.
1156 * ServerSocket.accept() now restarts listening when system call interrupted.
1157 * Much cleanups to make standard API doc valid XHTML (not completed yet).
1158 * A scan for unused variables and non-static invocation of static methods
1159 turned up a couple of subtle bugs which have now all been fixed.
1160 * The Mauve testsuite has been cleaned up considerable and lots of issues
1161 in the GNU Classpath core class implementation have been fixed.
1163 VM Interface changes:
1165 * java.lang.Class/VMClass interface was changed. The interface now no
1166 longer requires an instance of VMClass for each Class instance. Instead
1167 the field vmdata in Class is now of type Object.
1168 * GNU Classpath now assumes that JNI calls SetXField can modify final
1169 fields. This was previously used silently for System.in/out/err and should
1170 be considered as a feature now.
1171 * A new VMProcess and a sample JNI C implementation are now provided to
1172 make Runtime.exec() work out of the box on some systems. This requires
1173 a small change to VMRuntime.exec() when a runtime wants to use it as the
1174 default java.lang.Process implementation.
1175 * The implementation of most of java.io through java.nio moved serveral
1176 runtime specific I/O methods. Most methods do have a generic default native
1177 C JNI implementation in native/jni/java-nio.
1178 * Runtime support methods for java.io.File have been moved to VMFile which
1179 also comes with a default JNI C implementation.
1180 * To support the new service provider mechanism runtimes must make sure that
1181 extension JARs are made accessible via the default context class loader.
1183 New in release 0.08 (2004/12/03)
1185 * java.util.regexp implementation through gnu.regexp wrappers.
1186 * java.net.URI implementation.
1187 * Working implementation of javax.swing.undo.
1188 * java.awt.geom.CubicCurve2D/QuadCurve2D: Can now solve cubic and quadratic
1189 equations; implementation adapted from the GNU Scientific Library.
1190 * Lots of java.awt and gtk+ peer improvements. Also more Swing work. Start
1191 of EmbeddedWindow support.
1192 * BufferedReader speed improvements.
1193 * Improved useabilty of java.text implementation for several applications.
1194 * ObjectInputStream is much faster and more compatible with other
1196 * Fix handling of alias methods, where a method has been deprecated in
1197 favour of a new one with the same funtion but a different name.
1198 (See Deprecated Methods section in the GNU Classpath Hacking Guide.)
1199 * javax.print.attribute.standard added.
1200 * Lots of java.nio, java.net, java.io
1201 * Depend on autoconf 2.59+ and automake 1.7+, GCJ 3.3+, jikes 1.18+.
1203 VM Interface changes:
1204 * Split native methods in java.lang.Runtime into java.lang.VMRuntime.
1205 * Resources are now also loaded/needed through the bootstrap classloader
1206 (gnu.regexp needs MessageBundle included in glibj.zip
1208 Fixed Classpath bugs:
1209 #6095 java.awt.geom.QuadCurve2D.solveQuadratic sometimes gives
1211 #7099 EventListenerList.getListenerCount should accept null argument
1212 #7104 EventListenerList.add does not work
1213 #7105 EventListenerList.remove does not work
1214 #7107 DefaultBoundedRangeModel.setValue and friends should not throw
1217 New in release 0.07 (2003/30/11)
1219 * Works with libtool 1.5 (and 1.4.3).
1220 * java.awt gtk+ peers now depend on gtk+ 2.2.x and uses pango.
1221 Lots and lots improvements on the peers.
1222 * java.awt.geom.CubicCurve2D, java.awt.geom.QuadCurve2D:
1223 Subdivision and flatness calculation implemented.
1224 * java.awt.geom.FlatteningPathIterator: Working implementation.
1225 * gnu.java.awt.BitwiseXORComposite helper class.
1226 * New rmic compilers (jikes, kjc) support.
1227 * java.text bug fixing and 1.4 updates (Currency).
1228 * Hashtable and HashMap function more similar to other implementations.
1229 * javax.naming and java.beans classloader fixes.
1230 * URL parsing, URLConnection, protocol and (needed) permission fixes.
1231 * More java.nio implementation
1232 (API complete, but implementation not finished yet).
1233 * Lots of java.net code cleanup.
1234 * Improved documentation.
1235 * Numerous bug fixes in almost every package, and lots of updates for
1237 * Fixed Classpath bugs:
1238 #2944 Incorrect synchronization in java.util.logging.ErrorManager
1239 #6075 java.awt.geom.GeneralPath.getCurrentPoint returns wrong results
1240 #6076 java.awt.geom.GeneralPath constructor sometimes hangs
1241 #6089 java.awt.geom.GeneralPath.getPathIterator does not work
1244 VM Interface changes:
1246 * Thread has been split in a VM-independent Thread class and a VM-dependent
1249 New in release 0.06 (2003/22/08)
1251 * Update java.awt peers to GTK+2.
1252 * java.awt.GridBagLayout implementation.
1253 * javax.swing.border implementation.
1254 * java.security and java.security.cert updated to 1.4 spec.
1255 * New JNI native target code layer. See native/target/readme.txt.
1256 * --enable-regen-headers configure flag for automatic jni .h file generation.
1257 * Removed workaround for gcj 3.2 and lower, gcj 3.3+ or jikes 1.18+ is now
1258 needed for compiling.
1259 * Lots of improvements and/or new classes for java.awt, java.awt.dnd,
1260 java.awt.font, java.awt.geom, java.awt.image, java.io, java.math, java.net,
1261 java.nio, java.rmi, java.text, java.util, javax.swing, javax.swing.plaf,
1264 VM Interface changes:
1266 * VMClassLoader.loadClass(), the bootstrap classloader called by
1267 Class.forName() and ClassLoader.loadClass(), may now return null when
1268 a class is not found instead of throwing a new ClassNotFoundException.
1269 This is a performance optimization in some cases. This also changes
1270 the Class.forName() reference code.
1271 * Native methods in Class have been moved to VMClass. A few additional
1272 methods are also available in VMClass to provide optional performance
1274 * A VM can now supply its own String.intern() strategy through the
1275 VMString class. The supplied VMString reference class implements the
1276 original WeakHashMap strategy.
1277 * Float and Double to/from bits conversion functions can now be supplied by
1278 the VM through VMFloat and VMDouble. Default JNI conversion methods are
1281 New in release 0.05 (2003/02/15)
1282 * Supports free Java VMs Jikes RVM and Kissme out of the box, perhaps others.
1283 * Supports GNU Crypto 1.1 as the official provider of cryptographic primitives
1284 and tools for GNU Classpath, available separately from
1285 http://www.gnu.org/software/classpathx/crypto/crypto.html.
1286 * Supports GNU Classpath Tools sub-project of GNU Classpath, official provider
1287 of standard tools such as gjdoc, a javadoc replacement, and others. Future
1288 releases of GNU Classpath will begin to include these tools, available
1289 separately from http://www.gnu.org/software/cp-tools/.
1290 * Java primitives can be used to support AWT native threading, see
1291 the --enable-portable-native-sync configure option which may become the
1292 default in a future release.
1293 * Include file jni.h has been updated to the 1.4 specification.
1294 * VM specific internal types for jobject, jfieldID, and jmethodID are
1295 supported in jni.h. More details can be found by reading the comment
1296 in include/jni.h.in. By default the old definitions are used instead.
1297 * New VM helper class java.io.VMObjectStreamClass which should provide
1298 the hasClassInitializer() method. Previously ObjectStreamClass used
1299 Class.getDeclaredMethod("<clinit>") but according to the spec this
1300 should always throw NoSuchMethodException for class initialization methods.
1301 A JNI reference implementation is provided as
1302 vm/reference/java-io/java_io_VMObjectStreamClass.c
1303 * There have been numerous infrastructure improvements
1304 * Configure option --enable-gjdoc to generate javadoc-like output
1305 * Gjdoc output is included with distribution, see doc/api/html/
1306 * DESTDIR fully supported for install and uninstall
1307 * Runtime.execInternal contract changed to allow for null `env'
1308 and to accept `dir' argument.
1309 * VMObject.getClass() removed. It was never used.
1310 * java.lang.Throwable is now a 'normal' GNU Classpath class that uses the
1311 VM specific java.lang.VMThrowable to get at the VM state and (if needed)
1312 the StackTraceElements for a particular exception. A default implementation
1313 (that does nothing) is provided in vm/reference/java/lang/VMThrowable.java.
1314 * The vm/reference classes from the gnu.vm.stack and their counterparts
1315 ExecutionStack and StackFrame in gnu.java.lang have been removed since they
1316 are not actually part of the VM interface anyway.
1317 * The GPLed com.sun.javadoc classes have been moved to the gjdoc application
1318 from the GNU Classpath Tools project. See for more information the homepage
1319 at: <http://www.gnu.org/software/cp-tools/>.
1321 New in release 0.04 (2002/05/05)
1322 * Additional configure options to disable zip creation and installation as
1323 well as disable gtk peer native compilation.
1324 * Addition of java.nio, java.util.logging, and javax.swing.
1325 * Integration of most or all of the ORP patches to date, the purpose of
1326 which are to make it possible to use JBOSS with ORP and Classpath. This
1327 is still in a testing phase however.
1328 * Significant changes in the reference VM interface that may require
1329 support from the JVMs.
1332 New in release 0.03 (2002/02/08)
1333 * More merges with libgcj have been performed including java.math which now
1334 provides a pure Java implementation of that package.
1335 Current status at <http://gcc.gnu.org/java/libgcj-classpath-compare.html>
1336 * A pure Java implementation (Jazzlib) of java.util.zip is available.
1337 * Added the java.rmi implementation that Transvirtual donated to the FSF.
1338 * Includes jni.h now, eliminating the need to specify a particular VM
1340 * No proprietary classes or programs are required to compile.
1341 Compiles out of the box with jikes or gcj.
1342 * Separation of compiling Java source and native libraries through the
1343 configure mechanism. If given no arguments, configure will setup the
1344 subsequent build to only produce Java bytecode (.class files). More
1345 information is available in INSTALLING.
1346 * Support for compiling in a separate directory, as an example you may
1347 cd classpath-0.03; mkdir build; cd build; ../configure; make
1348 * Works with Orp 1.0.9 out of the box. Build instructions can be found at
1349 <http://www.gnu.org/software/classpath/doc/orp.html>
1350 * Lots of bugfixes that were found by using Classpath with the gcj, Orp,
1351 SableVM, KissMe and Jaos VMs. Please use our bugdatabase at
1352 <http://savannah.gnu.org/support/?group_id=85>
1353 * Lots of updates to make Classpath more compliant with the 1.2, 1.3 and 1.4
1354 API specification. The current status can be found at
1355 <http://www.gnu.org/software/classpath/status.html>
1356 * All files are now distributed under the same terms. Added clarification to
1359 New in release 0.02 (2001/01/06)
1360 * Support for printing exceptions with Japhar 0.09 + patch included in
1361 resource/japhar-0.09.patch.1.
1362 * Typos, assorted bugfixes.
1364 New in release 0.01 (2000/11/20)
1365 * More packages are included now, though many remain untested.
1366 * Support for Japhar 0.09 included.
1368 New in release 0.00 (1999/02/01)
1369 * First official development release of clean room class library for Java
1370 * Following packages included:
1374 -- java.lang.reflect
1377 -- java.security (partial and non-functioning)
1378 -- java.security.acl
1379 -- java.security.interfaces
1381 * Code is mostly Java 2 (see JDK 1.2) compatible with some functionality
1382 missing and/or untested.
1383 * Support for Japhar (http://www.japhar.org/) virtual machine is included.
1384 Requires the current Japhar from CVS.
1385 * Extensive javadoc comments for public API included
1386 * Licensed under the GNU Library General Public License (see COPYING.LIB)
1387 * Does not depend on any non-free code - developed in a "clean room"