RE: [cp-patches] RFC: patch to make gconf as default preference backend

2006-07-02 Thread Mario Torre
Il giorno dom, 02/07/2006 alle 10.15 +0200, Jeroen Frijters ha scritto: We're trying to move away from gnu.classpath.Configuration, so this is not ideal. Ok, so I need to redo it anyway... but Also, why are you doing this: +System.setProperty(java.util.prefs.PreferencesFactory, +

RE: [cp-patches] RFC: patch to make gconf as default preferencebackend

2006-07-02 Thread Jeroen Frijters
Mario Torre wrote: Ops, this had to be System.get(...) Rereading the code, this (few lines later) makes more sense: String className = System.getProperty(java.util.prefs.PreferencesFactory, + Configuration.DEFAULT_PREFS_PEER); OK. I see what you mean now. I would expect that to be

[cp-patches] FYI: Implement MemoryMXBean

2006-07-02 Thread Andrew John Hughes
The attached patch adds the memory bean to our current roster of management beans. Changelog: 2006-07-01 Andrew John Hughes [EMAIL PROTECTED] * NEWS: Updated to include VMMemoryMXBeanImpl. * doc/vmintegration.texinfo: Likewise. *

[cp-patches] Patch FYI: Update NEWS to mention MIDI file reader/writer providers

2006-07-02 Thread Anthony Green
I'm checking this in... 2006-07-02 Anthony Green [EMAIL PROTECTED] * NEWS: Mention MIDI file reader/writer providers. Index: NEWS === RCS file: /sources/classpath/classpath/NEWS,v retrieving revision 1.153 diff -u

[cp-patches] FYI: Add CompilationMXBean

2006-07-02 Thread Andrew John Hughes
This adds the optional compilation MX bean. It relies on two properties: * gnu.java.compiler.name * gnu.java.lang.management.CompilationTimeSupport The former is the name of the JIT compiler. If this is non-null, a bean is created and supplied on calls to the appropriate ManagementFactory

[cp-patches] FYI: Fix typo in MemoryUsage

2006-07-02 Thread Andrew John Hughes
This fixes a small typo in MemoryUsage we spotted in output from Cacao; there is no 'MB)' after the maximum value. Changelog: 2006-07-02 Andrew John Hughes [EMAIL PROTECTED] * java/lang/management/MemoryUsage.java: (toString()): Fix missing MB for maximum memory usage. --

[cp-patches] RFC: patch to make gconf as default preference backend, second try

2006-07-02 Thread Mario Torre
This patch makes the gconf backend the default. The configure part of the patch is the same as the one discussed early, but now the backend name is stored under META-INF and loaded at runtime using ServiceFactory. A new file is introduced in the META-INF directory that is used to build the

[cp-patches] Patch FYI: every MIDI track must end in an End Of Track message

2006-07-02 Thread Anthony Green
This patch makes sure that every track in a MIDI file ends with an End Of Track meta message. I tested this with JFugue, a package for music programming (http://www.jfugue.org). The JFugue examples use this SPI code to generate MIDI files, which appear to play correctly. I'm checking it in.