Re: [cp-patches] Re: java.util.Arrays fix

2006-12-21 Thread Andrew Haley
Marco Trudel writes: Andrew Haley wrote: Stuart Ballard writes: Andrew Haley aph at redhat.com writes: No, that's not what I mean by illegal. It's illegal in the sense that the specification places requirements on the implementors of subclasses, and that a subclass

[cp-patches] FIY: Few compilation fixes (2)

2006-12-21 Thread Mario Torre
Il giorno gio, 21/12/2006 alle 01.16 +0100, Mario Torre ha scritto: I'll commit it if ok. Committed, thanks, Mario --- 2006-12-21 Mario Torre [EMAIL PROTECTED] * .settings/org.eclipse.jdt.core.prefs: set compilation flag to warning instead of error for empty control

[cp-patches] FYI: Genericize gnu.java.net.protocol.http.* a bit more...

2006-12-21 Thread David Daney
Tom Tromey already did the heavy lifting here. This patch just tweaks it a bit. 2006-12-21 David Daney [EMAIL PROTECTED]) * gnu/java/net/protocol/http/Headers.java: Update imports. Implement IterableHeaders.HeaderElement. (iterator): Make public. *

[cp-testresults] FAIL: regressions for mauve-jamvm on Thu Dec 21 11:01:58 UTC 2006

2006-12-21 Thread cpdev
Baseline from: Thu Dec 21 05:13:54 UTC 2006 Regressions: FAIL: java.lang.Thread.sleep FAIL: javax.swing.JTable.TableRobot Totals: PASS: 2899 XPASS: 0 FAIL: 202 XFAIL: 0 ___ Classpath-testresults mailing list Classpath-testresults@gnu.org

[cp-testresults] FAIL: regressions for mauve-jamvm on Thu Dec 21 16:29:26 UTC 2006

2006-12-21 Thread cpdev
Baseline from: Thu Dec 21 05:13:54 UTC 2006 Regressions: FAIL: java.io.PipedStream.Test FAIL: java.lang.Thread.sleep FAIL: javax.net.ssl.SSLEngine.TestHandshake Totals: PASS: 2898 XPASS: 0 FAIL: 203 XFAIL: 0 ___ Classpath-testresults mailing list

[cp-testresults] FAIL: regressions for mauve-jamvm on Thu Dec 21 21:57:45 UTC 2006

2006-12-21 Thread cpdev
Baseline from: Thu Dec 21 05:13:54 UTC 2006 Regressions: FAIL: gnu.javax.crypto.jce.TestOfPR27853 FAIL: gnu.javax.crypto.sasl.srp.TestOfSRPPasswordFile FAIL: java.io.PipedReaderWriter.Test FAIL: java.lang.Thread.sleep Totals: PASS: 2897 XPASS: 0 FAIL: 204 XFAIL: 0

[cp-testresults] FAIL: regressions for mauve-jamvm on Fri Dec 22 03:31:18 UTC 2006

2006-12-21 Thread cpdev
Baseline from: Thu Dec 21 05:13:54 UTC 2006 Regressions: FAIL: java.lang.Thread.sleep FAIL: javax.net.ssl.SSLEngine.TestHandshake Totals: PASS: 2899 XPASS: 0 FAIL: 202 XFAIL: 0 ___ Classpath-testresults mailing list Classpath-testresults@gnu.org

[cp-testresults] classpath daily snapshot 20061222 FAILED

2006-12-21 Thread Michael Koch
checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking

Re: [cp-patches] FYI: Add Enum.finalize()

2006-12-21 Thread Christian Thalinger
On Wed, Dec 20, 2006 at 10:28:13AM +0100, Christian Thalinger wrote: On Wed, Dec 20, 2006 at 09:34:29AM +0100, Mark Wielaard wrote: Interesting. Even though Enums should never be initialized by hand this is something a garbage collector should be aware of. Do garbage collectors already

Re: [cp-patches] FYI: Add Enum.finalize()

2006-12-21 Thread Robert Lougher
Hi, FYI, JamVM does something similar. All objects effectively have a finalizer because java.lang.Object implements an empty finalizer, so if a VM didn't do something, _all_ objects would need finalization. JamVM therefore records a class as having a finalizer only if it has overridden the one

Re: [cp-patches] FYI: Add Enum.finalize()

2006-12-21 Thread Mark Wielaard
On Thu, 2006-12-21 at 11:43 +, Robert Lougher wrote: JamVM therefore records a class as having a finalizer only if it has overridden the one in java.lang.Object. The assumption is that it will only provide it's own finalizer if it actually has something to do, so the code currently

Re: [cp-patches] FYI: Add Enum.finalize()

2006-12-21 Thread Christian Thalinger
On Thu, Dec 21, 2006 at 02:09:13PM +0100, Mark Wielaard wrote: I hope the optimization is actually worth it. It occurred to me that enums are of course by design singletons. So in that case you might not actually find so many instances of them anyway. If someone implements this

Re: [cp-patches] FYI: Add Enum.finalize()

2006-12-21 Thread Mark Wielaard
Hi Christian, On Thu, 2006-12-21 at 15:07 +0100, Christian Thalinger wrote: An eclipse-3.2.1 startup-and-shutdown: 3808 class loads 10 classes have a finalizer 4of them are empty Make your own decision :-) Thanks for those stats! But aren't we actually interested in the number of

Re: [cp-patches] FYI: Add Enum.finalize()

2006-12-21 Thread Christian Thalinger
On Thu, Dec 21, 2006 at 03:18:09PM +0100, Mark Wielaard wrote: Hi Christian, On Thu, 2006-12-21 at 15:07 +0100, Christian Thalinger wrote: An eclipse-3.2.1 startup-and-shutdown: 3808 class loads 10 classes have a finalizer 4of them are empty Make your own decision :-)

[Bug classpath/30275] New: remove AIX hack in fdlibm.h

2006-12-21 Thread groved at us dot ibm dot com
In classpath/native/fdlibm/fdlibm.h there's the following hack for AIX 4.x that was put in for Jikes RVM. We no longer need this (and on AIX 5.x it means that classpath doesn't build without manually removing it). /* AIX needs _XOPEN_SOURCE */ #ifdef _AIX #define _XOPEN_SOURCE #endif Here's a

Re: [cp-patches] FYI: Add Enum.finalize()

2006-12-21 Thread Tom Tromey
Twisti == Christian Thalinger [EMAIL PROTECTED] writes: Twisti 87% precent of the heap allocations with a finalizer have an empty Twisti finalizer. The class responsible for this is java/util/zip/Inflater. I think we can simply delete Inflater.finalize. Tom

Re: [cp-patches] FYI: Add Enum.finalize()

2006-12-21 Thread Stuart Ballard
Bear in mind that Enum's empty final finalize() method is a security fix, preventing subclasses from creating illegal enum values. That security fix can easily apply to other classes too - any class which wants to control when subclasses can be instantiated by throwing exceptions from the

error building classpath 0.93 on AIX

2006-12-21 Thread David P Grove
Hi, I'm getting the following errors when building classpath 0.93-generics for AIX. Anyone seen it before or have advice on how to fix it? This appears to be in code added since 0.92-generics, which does build on AIX. thanks, --dave /usr/gnu/bin/gcc -w -O -Wa,-mppc

[commit-cp] classpath java/util/zip/ZipInputStream.java jav...

2006-12-21 Thread Mario Torre
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Mario Torre neugens 06/12/21 13:02:53 Modified files: java/util/zip : ZipInputStream.java DeflaterEngine.java DeflaterHuffman.java external/jsr166/java/util:

[commit-cp] classpath ChangeLog gnu/java/net/protocol/http/...

2006-12-21 Thread David Daney
CVSROOT:/sources/classpath Module name:classpath Changes by: David Daney daney 06/12/22 00:40:23 Modified files: . : ChangeLog gnu/java/net/protocol/http: Headers.java Request.java SimpleCookieManager.java