Re: [cp-patches] Patch: RFC: remove InetAddress caching

2006-01-12 Thread Mark Wielaard
Hi, On Wed, 2006-01-11 at 15:41 -0600, Archie Cobbs wrote: Tom Tromey wrote: I would like to remove it, which is what this patch does. Sounds good to me. Let the upstream DNS server do the caching, that's what it's there for. Agreed. Or, at least, this reverts to doing the correct and

[cp-patches] Re: Assertion failure

2006-01-12 Thread Mark Wielaard
Hi, On Tue, 2006-01-10 at 19:26 +0100, Mark Wielaard wrote: Agreed. I am still hoping someone has a good analysis of the issue, or wants to upgrade our mprec to the newlib version. If not we should indeed disable the assert again before 0.20 is released. Which is what I did. For now we just

[cp-patches] FYI: Remove (bogus) asserts in java-net.

2006-01-12 Thread Mark Wielaard
Hi, The crashes we were seeing with the net code in Mauve were caused by the following bogus asserts in VMPlainDatagramSocketImpl_nativeReceive(): assert((*env)-GetArrayLength(env, receivedFromAddress) 4); assert((*env)-GetArrayLength(env, receivedFromPort ) 1);

[cp-patches] Re: FYI: Some more net regression fixes

2006-01-12 Thread Mark Wielaard
On Thu, 2006-01-12 at 11:35 +0100, Mark Wielaard wrote: There are only 2 regressions left which I still need to investigate: -PASS: gnu.testlet.java.net.DatagramPacket.DatagramPacketReceive2: DatagramPacket receive Test B errorCount=0 (number 1) +FAIL:

[cp-patches] FYI: Some more net regression fixes

2006-01-12 Thread Mark Wielaard
Hi, This fixes most of the remaining net regressions we were seeing in Mauve. 2006-01-12 Mark Wielaard [EMAIL PROTECTED] * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when other side orderly closed connection. * vm/reference/gnu/java/net/VMPlainSocketImpl.java

[cp-patches] Re: FYI: Some more net regression fixes

2006-01-12 Thread Mark Wielaard
Hi, On Thu, 2006-01-12 at 12:56 +0100, Mark Wielaard wrote: On Thu, 2006-01-12 at 11:35 +0100, Mark Wielaard wrote: There are only 2 regressions left which I still need to investigate: -PASS: gnu.testlet.java.net.DatagramPacket.DatagramPacketReceive2: DatagramPacket receive Test B

[cp-patches] FYI: Make VMPlainSocketImpl.connect() throw UnknownHostException

2006-01-12 Thread Mark Wielaard
Hi, While hacking in the train I noticed that connect() was throwing an IllegalArgumentException instead of an UnknownHostException when a name couldn't be resolved before connecting. Fixed as follows: 2006-01-12 Mark Wielaard [EMAIL PROTECTED] *

[cp-patches] FYI: java/net/URL.java fix

2006-01-12 Thread Jeroen Frijters
Hi, Committed. Regards, Jeroen 2006-01-12 Jeroen Frijters [EMAIL PROTECTED] * java/net/URL.java (static, getURLStreamHandler): Use SystemProperties. Index: java/net/URL.java === RCS file:

[cp-patches] Patch: GapContent fixlet

2006-01-12 Thread Lillian Angel
After writing some mauve tests, I noticed our private class was called something different than the JDK's. Its not crucial to have them the same, but I thought it would ultimately be better to. 2006-01-12 Lillian Angel [EMAIL PROTECTED] * javax/swing/text/GapContent.java

Re: [cp-patches] RFC: MetalFileChooserUI

2006-01-12 Thread Lillian Angel
On Thu, 2006-01-12 at 21:45 +0100, Mark Wielaard wrote: Hi, The JFileChooser was giving NullPointerExceptions for me when resizing the window or when viewing a directory with few items. What happens is that the BasicDirectoryModel will give null as element after the end of list. The

Re: [cp-patches] FYI: Define isnan explicitly in fdlibm

2006-01-12 Thread Guilhem Lavaux
Christian Thalinger wrote: On Sat, 2005-12-17 at 21:43 +0100, Guilhem Lavaux wrote: Hi, Here is a patch to define isnan explicitly as a macro if it is not already defined. At the same it removes the symbol renaming in namespace.h. Hi! As i merged the changes into CACAO, i noticed that

[cp-patches] FYI: fixlet for TransferHandler fixes Mauve regression

2006-01-12 Thread Anthony Balkissoon
This patch fixes a Mauve regression that Mark pointed out: gnu.testlet.javax.swing.JTextField.CopyPaste I also checked in a Mauve test for it: gnu/testlet/javax/swing/TransferHandler/TransferActionConstructor 2006-01-12 Anthony Balkissoon [EMAIL PROTECTED] *

[cp-patches] Regression fix for XSLT

2006-01-12 Thread Chris Burdess
This patch fixes a regression in XSLT that I'm seeing, although I'm also getting different conformance results on different machines (single-processor G4 versus dual-processor 64-bit G5), so it will be interesting to see what builder makes of it :-/ I also removed some debugging output I

Re: [cp-patches] FYI: Define isnan explicitly in fdlibm

2006-01-12 Thread Christian Thalinger
On Thu, 2006-01-12 at 21:37 +0100, Guilhem Lavaux wrote: To define isnan in any cases. Looking at IRC logs it looks like that we met some trouble on darwin5. Here is a new patch which should make everyone happy. Tell me if it's ok for you. Yeah, that one makes me happy. Commit! TWISTI

[cp-patches] RFC: MetalFileChooserUI

2006-01-12 Thread Mark Wielaard
Hi, The JFileChooser was giving NullPointerExceptions for me when resizing the window or when viewing a directory with few items. What happens is that the BasicDirectoryModel will give null as element after the end of list. The MetalFileChooserUI FileRenderer would try to get a name and icon for

[cp-patches] FYI: Hashtable fixes

2006-01-12 Thread Roman Kennke
Now that was interesting. My last patch for Hashtable contained a fix for the (new) EnumerateAndModify mauve test and some rewrite for the parameterized class. Obviously the latter made the former fail again. I had to add some null checks in order to make the tests fully PASS. 2006-01-12 Roman

[cp-patches] More XSLT/XPath fixes

2006-01-12 Thread Chris Burdess
This patch corrects a number of smaller XSLT and XPath bugs. 2006-01-12 Chris Burdess [EMAIL PROTECTED] * gnu/xml/dom/DomDocument.java, gnu/xml/dom/DomElement.java, gnu/xml/dom/DomNode.java, gnu/xml/stream/XMLParser.java, gnu/xml/transform/Bindings.java,

Re: [cp-patches] RFC: installing logging.properties

2006-01-12 Thread Christian Thalinger
On Tue, 2006-01-10 at 19:13 +0100, Mark Wielaard wrote: Please provide a patch that installs logging.properties in $(prefix)/lib. Ok, finally... We install now into $(prefix)/lib, this is where gnu.classpath.home.url points to. I also changed the location of classpath.security since $(libdir)

[cp-patches] FYI:Throwing different exception in gnu/java/rmi/server/UnicastRef.java

2006-01-12 Thread Meskauskas Audrius
The Sun's implementation throws java.rmi.ConnectException (subclass of RemoteException) in the case of failure to establish the connection. Our implementation throws the RemoteException itself. This crashes applications that specifically catch ConnectException. In Classpath, this exception is

Re: [cp-patches] FYI: fixlet for TransferHandler fixes Mauve regression

2006-01-12 Thread Mark Wielaard
On Thu, 2006-01-12 at 15:45 -0500, Anthony Balkissoon wrote: This patch fixes a Mauve regression that Mark pointed out: gnu.testlet.javax.swing.JTextField.CopyPaste 2006-01-12 Anthony Balkissoon [EMAIL PROTECTED] * javax/swing/TransferHandler.java: (TransferActioninit): Call

Re: [cp-patches] Patch: Constructor fixes

2006-01-12 Thread Mark Wielaard
Hi, On Tue, 2006-01-03 at 13:42 -0500, Lillian Angel wrote: I fixed some constructor problems in several swing classes. These were pointed out by several mauve tests. 2006-01-03 Lillian Angel [EMAIL PROTECTED] * javax/swing/JMenuItem.java (JMenuItem): Set all defaults if

[cp-patches] FYI: Patch to fix the incorrect RuntimePermission(charsetProvider) check

2006-01-12 Thread Jeroen Frijters
Hi, I've checked in the attached patch to fix the fact that we're incorrectly checking for the charsetProvider runtime permission when instantiating the built in providers. Regards, Jeroen 2005-01-13 Jeroen Frijters [EMAIL PROTECTED] * gnu/java/nio/charset/Provider.java: Added

[cp-patches] FYI: java/io/PrintStream fix

2006-01-12 Thread Jeroen Frijters
Hi, I checked in the attached patch to fix PrintStream to use SystemProperties (to make sure we don't request unneeded security permissions). Regards, Jeroen 2005-01-13 Jeroen Frijters [EMAIL PROTECTED] * java/io/PrintStream.java (line_separator,

[cp-testresults] FAIL: gcc build on Thu Jan 12 21:32:51 UTC 2006

2006-01-12 Thread cpdev
./../.././gcc/gcjh -d . -classpath '' -bootclasspath classpath/lib $name name=`echo classpath/lib/gnu/gcj/xlib/XExposeEvent.class | sed -e 's/\.class$//' -e 's,classpath/lib/,,'`; \ /home/cpdev/Nightly/gcc/trunk/mkinstalldirs `dirname $name`; \ ./../.././gcc/gcjh -d . -classpath '' -bootclasspath

[cp-testresults] FAIL: gcc build on Fri Jan 13 06:46:01 UTC 2006

2006-01-12 Thread cpdev
./../.././gcc/gcjh -d . -classpath '' -bootclasspath classpath/lib $name name=`echo classpath/lib/gnu/gcj/xlib/XExposeEvent.class | sed -e 's/\.class$//' -e 's,classpath/lib/,,'`; \ /home/cpdev/Nightly/gcc/trunk/mkinstalldirs `dirname $name`; \ ./../.././gcc/gcjh -d . -classpath '' -bootclasspath

Re: RMI and java.rmi.server.hostname

2006-01-12 Thread Mark Wielaard
Hi, On Wed, 2006-01-11 at 13:54 -0700, Tom Tromey wrote: I filed a PR: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25754 I would have linked to your message but, weirdly, it isn't in the list archives yet. The official archives are only updated every 12 hours (*). It is available as:

[Bug classpath/25760] File(mydir).list() returns null instead of File[]

2006-01-12 Thread stephan at apache dot org
--- Comment #3 from stephan at apache dot org 2006-01-12 22:02 --- One more thing, File.list() should at least throw a runtime exception if it can't open more files. This had save me from a day of debugging :-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25760

Re: Some Mauve regressions builder missed

2006-01-12 Thread Anthony Balkissoon
On Thu, 2006-01-12 at 15:04 +0100, Mark Wielaard wrote: - gnu.testlet.javax.swing.JTextField.createDefaultModel - gnu.testlet.javax.swing.JTextField.CopyPaste Roman and I fixed these two. - gnu.testlet.javax.swing.JEditorPane.ConstructorsAndTypes I don't think this is a real regression.

[Bug classpath/25760] File(mydir).list() returns null instead of File[]

2006-01-12 Thread stephan at apache dot org
--- Comment #2 from stephan at apache dot org 2006-01-12 21:55 --- It seems to be a problem of the available taks. It creates a classloader to search for a class in the classpath. The problem is that the classloader stores the ZipFile classes, which are created for the jar files, in a

Re: Some Mauve regressions builder missed

2006-01-12 Thread Tom Tromey
Mark == Mark Wielaard [EMAIL PROTECTED] writes: Mark A workaround is to create a new test harness that ignores Mark checkpoint names and PASS/FAIL messages. Such a harness should Mark just use the test classname as message plus a counter. I suspect this won't be completely reliable either. It

Re: Usage of RFC documentation for Javadoc

2006-01-12 Thread Tom Tromey
Mark == Mark Wielaard [EMAIL PROTECTED] writes: Mark In the meantime, without disturbing existing documents or arrangements, Mark we should refrain from distributing /new/ material from RFC sources Mark without specific legal review. Can we link to RFC URLs? Tom

RE: SecurityManager troubles

2006-01-12 Thread Mark Wielaard
Hi Jeroen, On Fri, 2006-01-13 at 07:54 +0100, Jeroen Frijters wrote: I think I figured it out. With the attached test I could reproduce the problem on IKVM as well. The attach Classpath patch fixing things, although past 0.20 I think we should refactor the security properties like I did with

[commit-cp] classpath ./ChangeLog native/jni/java-net/javan...

2006-01-12 Thread Mark Wielaard
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Mark Wielaard [EMAIL PROTECTED] 06/01/12 10:36:01 Modified files: . : ChangeLog native/jni/java-net: javanet.c vm/reference/gnu/java/net:

[commit-cp] classpath ./ChangeLog java/net/URL.java

2006-01-12 Thread Jeroen Frijters
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Jeroen Frijters [EMAIL PROTECTED] 06/01/12 13:31:10 Modified files: . : ChangeLog java/net : URL.java Log message: 2006-01-12 Jeroen Frijters [EMAIL

[commit-cp] classpath ./ChangeLog javax/swing/text/DefaultS...

2006-01-12 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 06/01/12 21:44:59 Modified files: . : ChangeLog javax/swing/text: DefaultStyledDocument.java Log message: 2006-12-12 Lillian

[commit-cp] classpath ./ChangeLog javax/swing/TransferHandl...

2006-01-12 Thread Anthony Balkissoon
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Anthony Balkissoon [EMAIL PROTECTED] 06/01/12 20:42:03 Modified files: . : ChangeLog javax/swing: TransferHandler.java Log message: 2006-01-12 Anthony

[commit-cp] classpath ./ChangeLog javax/swing/text/DefaultS...

2006-01-12 Thread Anthony Balkissoon
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Anthony Balkissoon [EMAIL PROTECTED] 06/01/12 22:29:43 Modified files: . : ChangeLog javax/swing/text: DefaultStyledDocument.java Log message: 2006-01-12 Anthony

[commit-cp] classpath ./ChangeLog gnu/regexp/RE.java

2006-01-12 Thread Ito Kazumitsu
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Ito Kazumitsu [EMAIL PROTECTED] 06/01/12 22:13:49 Modified files: . : ChangeLog gnu/regexp : RE.java Log message: 2006-01-12 Ito Kazumitsu [EMAIL

[commit-cp] classpath ./ChangeLog javax/swing/text/GapConte...

2006-01-12 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 06/01/12 15:45:22 Modified files: . : ChangeLog javax/swing/text: GapContent.java Log message: 2006-01-12 Lillian Angel

[commit-cp] classpath ./ChangeLog java/net/InetAddress.java

2006-01-12 Thread Tom Tromey
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Tom Tromey [EMAIL PROTECTED] 06/01/12 17:03:47 Modified files: . : ChangeLog java/net : InetAddress.java Log message: * java/net/InetAddress.java

[commit-cp] classpath javax/swing/JTextField.java ./ChangeLog

2006-01-12 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/12 20:07:35 Modified files: javax/swing: JTextField.java . : ChangeLog Log message: 2006-01-12 Roman Kennke

[commit-cp] classpath ./ChangeLog javax/swing/plaf/metal/Me...

2006-01-12 Thread Mark Wielaard
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Mark Wielaard [EMAIL PROTECTED] 06/01/13 06:03:29 Modified files: . : ChangeLog javax/swing/plaf/metal: MetalFileChooserUI.java Log message: *

[commit-cp] classpath ./ChangeLog javax/swing/JMenuItem.java

2006-01-12 Thread Mark Wielaard
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Mark Wielaard [EMAIL PROTECTED] 06/01/13 07:21:06 Modified files: . : ChangeLog javax/swing: JMenuItem.java Log message: * javax/swing/JMenuItem.java

[commit-cp] classpath ./ChangeLog gnu/java/nio/charset/Prov...

2006-01-12 Thread Jeroen Frijters
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Jeroen Frijters [EMAIL PROTECTED] 06/01/13 07:42:48 Modified files: . : ChangeLog gnu/java/nio/charset: Provider.java gnu/java/nio/charset/iconv:

[commit-cp] classpath ./ChangeLog java/io/PrintStream.java

2006-01-12 Thread Jeroen Frijters
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Jeroen Frijters [EMAIL PROTECTED] 06/01/13 07:44:34 Modified files: . : ChangeLog java/io: PrintStream.java Log message: 2005-01-13 Jeroen Frijters