RE: [cp-patches] RFC: refactor (and finish) IO and NIO

2006-08-20 Thread Jeroen Frijters
Casey Marshall wrote: What I'd like people to look at and comment on specifically are the changes to gnu.java.nio.VMChannel and gnu.java.net.VMPlainSocketImpl, for opinions on how well these classes (the public methods) help abstract away platform-specific code. Thanks. I like the idea of the

Re: [cp-patches] RFC: RMI Class loading patch

2006-08-20 Thread Mark Wielaard
Hi Jeroen, On Sun, 2006-08-13 at 13:38 +0200, Jeroen Frijters wrote: Note that I removed VMObjectInputStream.currentClassLoader() and added VMStackWalker.firstNonNullClassLoader(). They are not identical, because VMObjectInputStream.currentClassLoader() used to return the thread context class

Re: [cp-patches] RFC: refactor (and finish) IO and NIO

2006-08-20 Thread Casey Marshall
Jeroen Frijters wrote: Casey Marshall wrote: What I'd like people to look at and comment on specifically are the changes to gnu.java.nio.VMChannel and gnu.java.net.VMPlainSocketImpl, for opinions on how well these classes (the public methods) help abstract away platform-specific code.

[cp-patches] FYI: Documentation updates for ManagementFactory

2006-08-20 Thread Andrew John Hughes
This documents the type conversion in java.lang.management.ManagementFactory. Changelog: 2006-08-20 Andrew John Hughes [EMAIL PROTECTED] * java/lang/management/ManagementFactory.java: Updated documentation. -- Andrew :-) Escape the Java Trap with GNU Classpath!

Re: [cp-patches] Merge NATIVE-LAYER to HEAD

2006-08-20 Thread Mark Wielaard
Hi, On Mon, 2006-08-14 at 14:33 -0700, Casey Marshall wrote: Guilhem Lavaux wrote: Here is a patch to merge NATIVE-LAYER branch to HEAD. I expect that the new code will have some troubles to compile on some random OS different from linux but hopefully it is sufficiently flexible to be I

Re: [cp-patches] RFC: refactor (and finish) IO and NIO

2006-08-20 Thread Casey Marshall
Casey Marshall wrote: Jeroen Frijters wrote: - PlainSocketImpl.connect should simply call impl.connect(address,timeout) which in turn calls channel.connect(address,timeout), the decision how to implement the timeout should be in the VM layer. Good point. The current version (setting

RE: [cp-patches] RFC: refactor (and finish) IO and NIO

2006-08-20 Thread Jeroen Frijters
Casey Marshall wrote: - Instead of changing FileInputStream/FileOutputStream/RandomAccessFile, FileChannelImpl should accommodate them. I'm not sure what you mean by this. It just looked like unnecessary code duplication. If FileChannelImpl.create throws the right exception, the others

RE: [cp-patches] RFC: RMI Class loading patch

2006-08-20 Thread Jeroen Frijters
Mark Wielaard wrote: Could you add a little note about this to the NEWS and/or the vmintegration guide? VMStackWalker.firstNonNullClassLoader() is a new method that runtimes should implement (an optimized version of). Ah, yes, thanks for reminding me. Regards, Jeroen 2006-08-21 Jeroen

[cp-testresults] FAIL: regressions for mauve-jamvm on Sun Aug 20 16:08:11 UTC 2006

2006-08-20 Thread cpdev
Baseline from: Wed Aug 2 19:46:25 UTC 2006 Regressions: FAIL: gnu.javax.crypto.key.srp6.TestOfSRPKeyGeneration FAIL: java.awt.AWTKeyStroke.serialization FAIL: java.awt.Canvas.PaintTest FAIL: java.awt.ColorClass.serialization FAIL: java.awt.FontClass.serialization FAIL:

[cp-testresults] FAIL: regressions for mauve-cacao on Sun Aug 20 16:32:55 UTC 2006

2006-08-20 Thread cpdev
Baseline from: Wed Aug 2 04:27:22 UTC 2006 Regressions: FAIL: java.awt.AWTKeyStroke.serialization FAIL: java.awt.Canvas.PaintTest FAIL: java.awt.ColorClass.serialization FAIL: java.awt.FontClass.serialization FAIL: java.awt.Scrollbar.ScrollbarPaintTest FAIL:

[cp-testresults] FAIL: regressions for mauve-cacao on Mon Aug 21 03:04:16 UTC 2006

2006-08-20 Thread cpdev
Baseline from: Wed Aug 2 04:27:22 UTC 2006 Regressions: FAIL: gnu.javax.crypto.key.srp6.TestOfSRPKeyGeneration FAIL: java.awt.AWTKeyStroke.serialization FAIL: java.awt.Canvas.PaintTest FAIL: java.awt.ColorClass.serialization FAIL: java.awt.FontClass.serialization FAIL:

[cp-testresults] FAIL: regressions for mauve-jamvm on Mon Aug 21 02:39:42 UTC 2006

2006-08-20 Thread cpdev
Baseline from: Wed Aug 2 19:46:25 UTC 2006 Regressions: FAIL: gnu.javax.crypto.key.srp6.TestOfSRPKeyGeneration FAIL: java.awt.Canvas.PaintTest FAIL: java.lang.Thread.sleep FAIL: java.util.Vector.AcuniaVectorTest FAIL: javax.swing.JToolTip.setTipText FAIL:

Re: Bringing License arguments to Sun

2006-08-20 Thread Simon Phipps
On Aug 20, 2006, at 09:54, Chris Gray wrote: +1 to Stefano Mazzocchi: Noted, thanks. (and edited so I am making fair use of your copyrighted material - I don't want to get sued...) The specs should be licensed in a way that is compatible with the requirements of standards bodies

Re: Bringing License arguments to Sun

2006-08-20 Thread Simon Phipps
On Aug 20, 2006, at 03:38, Stefano Mazzocchi wrote: So, if we assume for a second that Sun can use the license as a carrot rather than a stick, my suggestion would be to use the simplest and more compatible license possible. I'll bite: the MIT license. Thanks, Stefano, I appreciate the

Re: Bringing License arguments to Sun

2006-08-20 Thread Chris Gray
On Sunday 20 August 2006 12:27, Simon Phipps wrote: On Aug 20, 2006, at 09:54, Chris Gray wrote: +1 to Stefano Mazzocchi: Noted, thanks. (and edited so I am making fair use of your copyrighted material - I don't want to get sued...) My cat can be vicious. :-) The specs should be

Re: Bringing License arguments to Sun

2006-08-20 Thread Stefano Mazzocchi
Simon Phipps wrote: On Aug 20, 2006, at 03:38, Stefano Mazzocchi wrote: So, if we assume for a second that Sun can use the license as a carrot rather than a stick, my suggestion would be to use the simplest and more compatible license possible. I'll bite: the MIT license. Thanks,

[Bug classpath/28412] [regex] Matcher.hitEnd missing

2006-08-20 Thread cvs-commit at developer dot classpath dot org
--- Comment #2 from cvs-commit at developer dot classpath dot org 2006-08-20 17:05 --- Subject: Bug 28412 CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Ito Kazumitsu itokaz 06/08/20 14:47:33 Modified files: . : ChangeLog

Re: Bringing License arguments to Sun

2006-08-20 Thread Stefano Mazzocchi
Geir Magnusson Jr wrote: CDDL is an example of clever lawyer work to modernize best licensing practices, but those are best practices in protection not in social empowerment! I don't understand that. Do you see the CDDL as somehow restricting communities? No, I see CDDL something that

firstNonNullClassLoader for jamvm

2006-08-20 Thread Mark Wielaard
Hi, GNU Classpath CVS needs a new VMClassLoader.firstNonNullClassLoader() method. Here is a quick and dirty implementation (based on getCallerFrame()) which works for me. I have also installed this temporarily on builder.classpath.org to get mauve results again. We will see how well it does soon

[commit-cp] classpath ChangeLog java/lang/management/Manage...

2006-08-20 Thread Andrew John Hughes
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Andrew John Hughes gnu_andrew 06/08/20 21:10:15 Modified files: . : ChangeLog java/lang/management: ManagementFactory.java Log message: 2006-08-20 Andrew John Hughes [EMAIL

[commit-cp] classpath ChangeLog.native include/java_lang_VM... [NATIVE-LAYER]

2006-08-20 Thread Mark Wielaard
CVSROOT:/cvsroot/classpath Module name:classpath Branch: NATIVE-LAYER Changes by: Mark Wielaard mark06/08/21 00:57:52 Modified files: . : ChangeLog.native include: java_lang_VMProcess.h native/jni : Makefile.am

[commit-cp] classpath ChangeLog NEWS

2006-08-20 Thread Jeroen Frijters
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Jeroen Frijters jfrijters 06/08/21 04:46:35 Modified files: . : ChangeLog NEWS Log message: 2006-08-21 Jeroen Frijters [EMAIL PROTECTED] * NEWS: Added note