📄 news
字号:
* Removed loadedClasses map from ClassLoader. It's now the VMs responsibility to manage the list of defined and loaded classes for each class loader.* Moved native methods from java.lang.reflect.Proxy to VMProxy.* Added hook to VMClassLoader to allow VM to do class caching.New Untested/Disabled Features: The following new features are included, but not ready for production yet. They are explicitly disabled and not supported. But if you want to help with the development of these new features we are interested in feedback. You will have to explicitly enable them to try them out (and they will most likely contain bugs). If you are interested in any of these then please join the mailing-list and follow development in CVS.* QT4 AWT peers, enable by giving configure --enable-qt-peer.* JDWP framework, enable by deleting the jdwp references from lib/standard.omit and vm/reference/standard.omit. No default implementation is provided. Work is being done on gcj/gij integration.* StAX java.xml.stream, enable by deleting the gnu.xml.stream and java.xml.stream references in lib/standard.omit.New in release 0.17 (Jul 15, 2005)* gnu.xml fix for nodes created outside a namespace context.* Add support for output indenting and cdata-section-elements output instruction in xml.transform.* xml.xpath corrections for cases where elements/attributes might have been created in non-namespace-aware mode. Corrections to handling of XSL variables and minor conformance updates.* DefaultMutableTreeNode preorder, postorder, depthFirst and breadthFirst traversal enumerations implemented.* JInternalFrame colors and titlebar draw properly.* JTree is working up to par (icons, selection and keyboard traversal).* JMenus were made more compatible in visual and programmatic behavior.* JTable changeSelection and multiple selections implemented.* JButton and JToggleButton change states work properly now.* JFileChooser fixes.* revalidate and repaint fixes which make Free Swing much more responsive.* Correctly handle system call interrupts and timeouts in native nio and net functions.* MetalIconFactory implemented.* Handle image loading errors correctly for gdkpixbuf and MediaTracker.* Added Tree World to GNU Classpath examples Free Swing demo.* FileChannel.lock() and FileChannel.force() implemented.* java.util.logging.FileHandler now rotates files.* Better handle GDK lock. Properly prefix gtkpeer native functions (cp_gtk).* Corba bug fixes and documentation updates.* Updated gcj build infrastructure.* Documentation fixes all over the place. See http://developer.classpath.org/doc/* VM Integration Guide updates with a full section on VM/Classpath hooks.New in release 0.16 (Jun 30, 2005)* Better GTK scrollbar peer implementation when using GTK >= 2.6.* GdkGraphics2D has been updated to use Cairo 0.5.x APIs.* BufferedImage and GtkImage rewrites. All image drawing operations should now work correctly (flipping requires gtk+ >= 2.6)* Future Graphics2D, Image and Text work is documented at: http://developer.classpath.org/mediation/ClasspathGraphicsImagesText* Free Swing Top-Level Compatibility. JFrame, JDialog, JApplet, JInternalFrame, and JWindow are now 1.5 compatible in the sense that you can call add() and setLayout() directly on them, which will have the same effect as calling getContentPane().add() and getContentPane().setLayout().* The JTree interface has been completed. JTrees now recognizes mouse clicks and selections work, but the visual implementation is not yet complete. Work on expansion and collapsing of the tree nodes is being implemented.* BoxLayout works properly now.* Fixed GrayFilter to actually work.* Metal SplitPane implemented.* Lots of free swing text and editor stuff work now.* When gtk+ 2.6 or higher is installed the default log handler will produce stack traces whenever a WARNING, CRITICAL or ERROR message is produced.* The CORBA implementation is now a working prototype that should support features up till 1.3 inclusive. We would invite groups writing CORBA dependent applications to try Classpath implementation, reporting any possible bugs. The CORBA prototype is interoperable with Sun's implementation v 1.4, transferring object references, primitive types, narrow and wide strings, arrays, structures, trees, abstract interfaces and value types (feature of CORBA 2.3) between these two platforms. The remote exceptions are transferred and handled correctly. The stringified object references (IORs) from various sources are parsed as required. The transient (for current session) and permanent (till jre restart) redirections work. Both Little and Big Endian encoded messages are accepted. The implementation is verified using tests from the former cost.omg.org. The current release includes working examples (see the examples directory), demonstrating the client-server communication, using either CORBA Request or IDL-based stub (usually generated by a IDL to java compiler). These examples also show how to use the Classpath CORBA naming service. The IDL to java compiler is not yet written, but as our library must be compatible, it naturally accepts the output of other idlj implementations.* New --with-vm-classes configure option, and new 'build' setting for --with-glibj. (Only for integrators.)Runtime interface changes:* Start of a generic JDWP framework in gnu/classpath/jdwp. This is unfinished, but feedback (at classpath@gnu.org) from runtime hackers is greatly appreciated. Although most of the work is currently being done around gcj/gij we want this framework to be as VM neutral as possible. Early design is described in: http://gcc.gnu.org/ml/java/2005-05/msg00260.html* Native method VMClass.getModifiers() now takes an additional boolean parameter.* Deprecated native method VMClassLoader.defineClass(ClassLoader, String, byte[], int, int) has been replaced by VMClassLoader.defineClass(ClassLoader, String, byte[], int, int, ProtectionDomain)* VMClassLoader.loadClass(String name, boolean resolve) is now native, replacing the former version which just returned null.* Deprecated native method VMClassLoader.getPrimitiveClass(String) has been replaced by new native method VMClassLoader.getPrimitiveClass(char).* Previously empty implementations of methods VMThread.countStackFrames(), VMThrowable.fillInStackTrace(), and VMThrowable.getStackTrace() have been removed; these methods are now native methods.* Fields "exceptionTypes" and "parameterTypes" have been removed from Contructor.java and getExceptionTypes() and getParameterTypes() are now native methods.New in release 0.15 (Apr 29, 2005)* The old character encoding framework (gnu.java.io.EncodingManager)has been replaced by a system based completely on nio.charsetproviders. Many converters have been added, both the io, lang and nioframeworks now use the same set of converters and the whole characterstream framework (Readers and Writers) have been optimized. For someworkloads this leads to 2x till 20x speedups.The default charsets supported are: Cp424, Cp437, Cp737, Cp775, Cp850, Cp852, Cp855, Cp857, Cp860, Cp861, Cp862, Cp863, Cp864, Cp865, Cp866, Cp869, Cp874, ISO_8859_1, ISO_8859_13, ISO_8859_15, ISO_8859_2, ISO_8859_3, ISO_8859_4, ISO_8859_5, ISO_8859_6, ISO_8859_7, ISO_8859_8, ISO_8859_9, KOI_8, MS874, MacCentralEurope, MacCroatian, MacCyrillic, MacDingbat, MacGreek, MacIceland, MacRoman, MacRomania, MacSymbol, MacThai, MacTurkish, US_ASCII, UTF_16, UTF_16BE, UTF_16Decoder, UTF_16Encoder, UTF_16LE, UTF_8, UnicodeLittle, Windows1250, Windows1251, Windows1252, Windows1253, Windows1254, Windows1255, Windows1256, Windows1257, Windows1258.Many more encoding are supported through the new IconvProviderdepending on the platform iconv support. GNU libiconv is recommended.The IconvProvider is currently not enabled by default. To enable itdefine the system property gnu.classpath.nio.charset.provider.iconv=true.Some runtimes might choose to enable this by default by setting itthrough VMSystemProperties. We would like to get feedback on whetherenabling or disabling the IconvProvider by default results in thehighest speedups.* Free swing metal and pluggable look and feels have been improved.The GNU Classpath free swing example can now be run with different"skins" by setting the system property swing.defaultlaf to the GNU,Basic or Metal look and feel.* Some of the org.omg.CORBA classes and packages have now beenimplemented. The Savannah bug tracker contains additional tasks forwhich we are seeking help.* Fixed compatibility problems in the java.beans which affectedEclipse's Visual Editor Project.* New completely lock free (Inheritable)ThreadLocal implementation.* javax.swing.text.rtf framework added which can handle simple (plain)text tokens.* Support for parsing html files into Level 2 Document Object Model(org.w3c.dom.html2 and javax.swing.text.html.parser). And a start ofjavax.swing.text.html framework added.Runtime interface changes:* jni.h changed to better support compiling runtimes implementing jni; see VM integration guide for details.* New --enable-default-toolkit option to configure can be used to set the fully qualified class name of the default AWT toolkit to use. If not given, the old default of gnu.java.awt.peerk.gtk.GtkToolkit is used.* New --disable-core-jni option can be used to disable building the "core" JNI libraries. This is primarily useful if your VM can use the Gtk peers but not the core JNI libraries.* New system property "gnu.classpath.boot.library.path" can be specified to define the location of the JNI libraries. It is by all means meant ONLY for VM implementors and GNU Classpath hackers. See the hacking guide for more information.* The helper methods currentLoader() and allocateObject() for java.io.ObjectInputStream have been moved to a VMObjectInputStream class. Reference implementations are provided.* java.net.InetAddress now uses VMInetAddress for runtime/platform specific methods getLocalHostname(), getHostByAddr() and getHostByName(). java.net.NetworkInterface now uses VMNetworkInterface for runtime/platform specific getInterfaces() support. Default (Posix/GNU JNI) implementations are provided.* VMClass has a new method getModifiers(Class, boolean) which can be used to get the real modifiers for an inner class or the ones specified by the InnerClasses attribute.* All (possible) runtime specific methods of Object and Double are now in VMObject and VMDouble. Where possible generic reference implementations are provided.* The reference implementation of VMClassLoader now handles zip files on the boot loader class path in getResources().Other changes:New in release 0.14 (Feb 25, 2005)* Character encoders and decoders have been added for: iso-8859-6 (arabic), iso-8859-7 (greek), iso-8859-8 (hebrew), iso-8859-9 (latin-5), iso-8859-13, iso-8859-15 (latin-9), cp1047 (ebcdic), ebcdic-xml-us,ascii, windows-1250, windows-1252, UTF-16BE (Big Endian), UTF-16LE (Little Endian), UTF-32BE (Big Endian), UTF-32LE (Little Endian).* Full documentation for all classes can be generated (again) by using the --with-gjdoc configure option.* javax.awt.imageio support through gdkpixbuf.Runtime interface changes:* VMSecurityManager has been replaced by gnu.classpath.VMStackWalker. currentClassLoader() is no longer needed, and there are also two new methods with non-native implementations. VM implementors are encouraged to provide more efficient versions.* VMRuntime.nativeLoad() now takes an additional ClassLoader parameter.New in release 0.13 (Jan 6, 2005)* The http url protocol handler has been replaced with a full HTTP/1.1 version from GNU inetlib.* A new ftp url protocol handler has been added also from GNU inetlib.* java.beans has been updated to 1.4 including support for XMLEncoder and XMLDecoder.* The java.util.Locale support is now based on the Common Locale Data Repository (CLDR) Project (see http://www.unicode.org/cldr/). GNU Classpath provides support for more than 250 locales now. This new support is experimental and the GNU Classpath hackers are working together with runtime developers and the unicode consortium
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -