Re: [cp-patches] FYI: major DefaultStyledDocument.ElementBuffer improvements

2006-01-11 Thread Mark Wielaard
Hi Tony, On Tue, 2006-01-10 at 16:49 -0500, Anthony Balkissoon wrote: Work still needs to be done, the ElementBuffer.insertUpdate rewrite is not perfect yet, and DefaultStyledDocument.insertUpdate is correct (to my knowledge) but incomplete. 2006-01-10 Anthony Balkissoon [EMAIL

Re: [cp-patches] RFC: Hashtable cleanup

2006-01-11 Thread Tom Tromey
Roman == Roman Kennke [EMAIL PROTECTED] writes: Roman So, should I check this in? Yes, but... Roman +if (idx = 0) /* added this test to avoid Roman + * ArrayIndexOutOfBounds when Hashtable is Roman + * modified concurrently, return null in

Re: [cp-patches] RFC: Hashtable cleanup

2006-01-11 Thread Roman Kennke
Hi Tom, Am Mittwoch, den 11.01.2006, 11:19 -0700 schrieb Tom Tromey: Roman == Roman Kennke [EMAIL PROTECTED] writes: Roman So, should I check this in? Yes, but... Roman + if (idx = 0) /* added this test to avoid Roman + * ArrayIndexOutOfBounds when Hashtable

[cp-patches] Patch: DefaultStyledDocument fixlet

2006-01-11 Thread Lillian Angel
This fixes the ElementSpec Tag Type problem. Since the resolve parent was being set; the attribute sets between ElementSpecs were not being compared properly. 2006-01-11 Lillian Angel [EMAIL PROTECTED] * javax/swing/text/DefaultStyledDocument.java (toString): Shouldn't append

Re: [cp-patches] RFC: gnu.regexp fix to allow ([(])

2006-01-11 Thread Mark Wielaard
Hi Tom, On Tue, 2006-01-10 at 13:14 -0700, Tom Tromey wrote: Anyway, last night I was wondering whether there are regex test suites that we could reuse... like maybe from perl or Henry Spencer or something like that. There is the prce test-suite (. And Ziga turned that into a Mauve test. See

Re: [cp-patches] RFC: gnu.regexp fix to allow ([(])

2006-01-11 Thread Tom Tromey
Mark == Mark Wielaard [EMAIL PROTECTED] writes: Mark There is the prce test-suite (. And Ziga turned that into a Mauve test. Sigh. I didn't even think to look first. Thanks. Tom ___ Classpath-patches mailing list Classpath-patches@gnu.org

Re: [cp-patches] RFC: Hashtable cleanup

2006-01-11 Thread Roman Kennke
Hi Tom, I applied your suggested changes and committed the attached patch. I am going to commit the mentioned mauve test now. 2006-01-11 Roman Kennke [EMAIL PROTECTED] Reported by: Fridjof Siebert [EMAIL PROTECTED] * java/util/Hashtable.java (KEYS): Removed unneeded

[cp-patches] FYI: More DefaultStyledDocument ElementBuffer fixes

2006-01-11 Thread Anthony Balkissoon
This patch fixes more issues with the ElementBuffer. 2006-01-11 Anthony Balkissoon [EMAIL PROTECTED] * javax/swing/text/DefaultStyledDocument.java: (ElementBuffer.insertUpdate): Properly recreate Elements if the first tag is an end tag. Avoid NPE by pushing the proper

[cp-patches] FYI: Another DefaultStyledDocument ElementBuffer fix

2006-01-11 Thread Anthony Balkissoon
These changes to DefaultStyledDocument make all the local tests I have here pass. I will commit these tests to Mauve now. The number one outstanding problem with DefaultStyledDocument and ElementBuffer is the way DocumentEvents are handled and marked up. Lillian is working on that right now,

[cp-patches] DefaultStyledDocument insertFracture fix

2006-01-11 Thread Lillian Angel
Added the addEdit calls in insertFracture. Now, this correctly updates the document structure when a fracture is inserted. 2006-01-11 Lillian Angel [EMAIL PROTECTED] * javax/swing/text/DefaultStyledDocument.java (insertFracture): Added calls to addEdit for each time a

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

2006-01-11 Thread Tom Tromey
I'm not checking this in yet -- I would like comments first. I happened to run across the caching code in java.net.InetAddress today. We had a couple discussions about this already in the past, e.g. one is here: http://gcc.gnu.org/ml/java/2000-04/msg00106.html I still think this code is

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

2006-01-11 Thread Archie Cobbs
Tom Tromey wrote: I'm not checking this in yet -- I would like comments first. I happened to run across the caching code in java.net.InetAddress today. We had a couple discussions about this already in the past, e.g. one is here: http://gcc.gnu.org/ml/java/2000-04/msg00106.html I still think

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

2006-01-11 Thread David Daney
Tom Tromey wrote: I'm not checking this in yet -- I would like comments first. I happened to run across the caching code in java.net.InetAddress today. We had a couple discussions about this already in the past, e.g. one is here: http://gcc.gnu.org/ml/java/2000-04/msg00106.html I still think

[cp-testresults] FAIL: ecj built with native-ecj on Wed Jan 11 11:38:55 UTC 2006

2006-01-11 Thread cpdev
xargs: ../ecj-gcj-build/ecj: No such file or directory ___ Classpath-testresults mailing list Classpath-testresults@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-testresults

[cp-testresults] Japi diffs for classpath-generics

2006-01-11 Thread Stuart Ballard
Japi diff jdk12 vs classpath-generics: Full results: http://www.kaffe.org/~stuart/japi/htmlout/h-jdk12-classpath-generics.html Changes since last run: -Comparison run at Tue Jan 10 10:48:51 2006 GMT -jdk12 API scanned at 2006/01/10 05:19:58 EST -classpath-generics API scanned at 2006/01/10

[cp-testresults] FAIL: regressions for mauve-jamvm on Wed Jan 11 18:14:08 UTC 2006

2006-01-11 Thread cpdev
Baseline from: Tue Jan 10 21:03:00 UTC 2006 Regressions: FAIL: gnu.testlet.javax.swing.text.DefaultStyledDocument.ElementBuffer.ElementStructure4 (number 6) FAIL: gnu.testlet.javax.swing.text.DefaultStyledDocument.ElementBuffer.ElementStructure4 (number 8) FAIL:

Re: SecurityManager troubles

2006-01-11 Thread Gary Benson
Guilhem Lavaux wrote: I have stumbled across a bug probably shared by all VMs using GNU Classpath. In Apache Ant a SecurityManager is installed to be able to execute java application without forking the VM. Thanks to the SM exiting a VM is forbidden and so ant is protected from the

RE: SecurityManager troubles

2006-01-11 Thread Christian Thalinger
On Wed, 2006-01-11 at 08:45 +0100, Jeroen Frijters wrote: After fixing some IKVM specific bugs, I was able to run the testcase succesfully with only the attached GNU Classpath fix. Can you please see if this patch improves things for you as well? No, same StackOverFlow with jamvm or cacao.

RE: SecurityManager troubles

2006-01-11 Thread Jeroen Frijters
Gary Benson wrote: Guilhem Lavaux wrote: 3) One solution of the problem is to load some core classes. But it will appear quite soon that some other classes may also be loaded for really wicked applications. It is a limitative solution and I would not support it. Yes. Exactly which

RMI and java.rmi.server.hostname

2006-01-11 Thread Lorenz Witte
Hello everyone, I've been experimenting a little with RMI and GNU Classpath and ran into troubles when client and server were running on different machines. In my setup the client hercules is trying to access a UnicastRemoteObject on the server galahad. The client is able to receive the

[Bug awt/24566] ClassCastException in ImageIO.read( File )

2006-01-11 Thread matighet at bbn dot com
--- Comment #2 from matighet at bbn dot com 2006-01-11 14:28 --- I'm having the same problem, and it is a show stopper for the use of classpath in our project: java.lang.ClassCastException at gnu.java.awt.peer.gtk.GdkPixbufDecoder$GdkPixbufReader.setInput (GdkPixbufDecoder.java:633)

RE: SecurityManager troubles

2006-01-11 Thread Mark Wielaard
Hi Jeroen, On Wed, 2006-01-11 at 08:45 +0100, Jeroen Frijters wrote: After fixing some IKVM specific bugs, I was able to run the testcase succesfully with only the attached GNU Classpath fix. That patch is obviously correct. Please do check this in even if other runtimes are still broken :)

[Bug awt/24566] ClassCastException in ImageIO.read( File )

2006-01-11 Thread mark at gcc dot gnu dot org
--- Comment #3 from mark at gcc dot gnu dot org 2006-01-11 19:14 --- This has been fixed in CVS and should work in the next developer snapshot release. -- mark at gcc dot gnu dot org changed: What|Removed |Added

Some Mauve regressions builder missed

2006-01-11 Thread Mark Wielaard
Hi all, Seems builder.classpath.org misses some regressions. builder can only accurately report when a PASS turns into a FAIL with the exact same message. It deliberately doesn't report new FAILs (since those could be from newly added tests). Since we sometimes use different messages when

Re: RMI and java.rmi.server.hostname

2006-01-11 Thread Tom Tromey
Lorenz == Lorenz Witte [EMAIL PROTECTED] writes: Lorenz Currently I meet the problem by modifying the static constructor of Lorenz gnu.java.rmi.server.UnicastConnectionManager, so that the static field Lorenz localhost is initialized with the value of the Lorenz java.rmi.server.hostname property

Re: SecurityManager troubles

2006-01-11 Thread Guilhem Lavaux
Jeroen Frijters wrote: Gary Benson wrote: Guilhem Lavaux wrote: 3) One solution of the problem is to load some core classes. But it will appear quite soon that some other classes may also be loaded for really wicked applications. It is a limitative solution and I would not support it. Yes.

Re: SecurityManager troubles

2006-01-11 Thread Archie Cobbs
Guilhem Lavaux wrote: I must say that I don't understand this problem. Me neither... I do not think it is strictly linked to the VM. I have produced an artificial stack trace by tweaking kaffe's VM. Normally this stack trace is hidden by the VM and replaced by a NoClassDefFoundError. Here

NIO (Non-block Scatter/Gather)

2006-01-11 Thread Michael Barker
Hi, My name is Mike Barker. I am interesting in contributing to the GNU Classpath project. As a start I have looked the NIO implemenation with regards to Channels (specifically SocketChannel). Attached to this mail is a patch that adds support for configuring a socket to be non-blocking and

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

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

[commit-cp] classpath ./ChangeLog java/util/Hashtable.java

2006-01-11 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/01/11 20:01:54 Modified files: . : ChangeLog java/util : Hashtable.java Log message: 2006-01-11 Roman Kennke [EMAIL

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

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

[commit-cp] classpath ./ChangeLog gnu/xml/transform/Attribu...

2006-01-11 Thread Chris Burdess
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Chris Burdess [EMAIL PROTECTED] 06/01/11 22:05:45 Modified files: . : ChangeLog gnu/xml/transform: AttributeNode.java ElementNode.java