UNIXProcess improvements

2010-04-15 Thread Martin Buchholz
Chris and/or Alan, I am planning some improvements to Process. Please file a bug. Synopsis: Improvements to subprocess handling on Unix Description: Looking at UNIXProcess.java.linux, there are a number of possible improvements: The "process reaper" thread should run in a thread pool to save on t

Re: Bugs in java.util.ArrayList, java.util.Hashtable and java.io.ByteArrayOutputStream

2010-04-15 Thread Martin Buchholz
Hi Chris, I recently discovered another place to handle huge arrays better - in AbstractCollection. I've put those changes into http://cr.openjdk.java.net/~martin/webrevs/openjdk7/ArrayResize2/ I propose to qfold these into the original changes for this bug http://cr.openjdk.java.net/~martin/webre

Re: Disambiguating empty catch blocks

2010-04-15 Thread Andrew Thompson
On Apr 14, 2010, at 6:49 AM, Bruce Chapman wrote: >> One thing we definitely can do is to add a new constructor >> to AssertionError, that takes a cause as an argument, >> consistent with other exceptions. >> > Yeah, that was a minor niggle - I'll check for an RFE and get the ball > started on

hg: jdk7/tl/jdk: 6939248: Jarsigner can't extract Extended Key Usage from Timestamp Reply correctly

2010-04-15 Thread weijun . wang
Changeset: 0d989dc383d3 Author:weijun Date: 2010-04-16 10:13 +0800 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/0d989dc383d3 6939248: Jarsigner can't extract Extended Key Usage from Timestamp Reply correctly Reviewed-by: xuelei, mullan ! src/share/classes/sun/security/tools/Tim

hg: jdk7/tl/jdk: 6937978: let keytool -gencert generate the chain

2010-04-15 Thread weijun . wang
Changeset: db4fd2fdf196 Author:weijun Date: 2010-04-16 10:06 +0800 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/db4fd2fdf196 6937978: let keytool -gencert generate the chain Reviewed-by: mullan ! src/share/classes/sun/security/tools/KeyTool.java ! test/sun/security/tools/keytool

Re: A few char-fiddling optimizations for Pattern.java

2010-04-15 Thread Martin Buchholz
On Thu, Apr 15, 2010 at 17:23, Ulf Zibis wrote: >> >> Hi Xueming and Ulf, >> >> Please review a few more optimizations to be added to the >> current crop: >> >> http://cr.openjdk.java.net/~martin/webrevs/openjdk7/Pattern-opt/ >> >> > > Have you tried to disassemble? : No. Have you? >    private

Re: A few char-fiddling optimizations for Pattern.java

2010-04-15 Thread Ulf Zibis
Hi Xueming and Ulf, Please review a few more optimizations to be added to the current crop: http://cr.openjdk.java.net/~martin/webrevs/openjdk7/Pattern-opt/ Have you tried to disassemble? : private static final boolean isSupplementary(int cp) { returnCharacter.isSurrogate((

hg: jdk7/tl/jdk: 6931676: TEST_BUG: wrong value for bugid in comments

2010-04-15 Thread xueming . shen
Changeset: c70d4266d474 Author:sherman Date: 2010-04-15 17:00 -0700 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/c70d4266d474 6931676: TEST_BUG: wrong value for bugid in comments Summary: update to the correct bugid Reviewed-by: martin ! test/java/util/regex/RegExTest.java

A few char-fiddling optimizations for Pattern.java

2010-04-15 Thread Martin Buchholz
Hi Xueming and Ulf, Please review a few more optimizations to be added to the current crop: http://cr.openjdk.java.net/~martin/webrevs/openjdk7/Pattern-opt/ Thanks, Martin

hg: jdk7/tl/jdk: 6943219: test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/DNSIdentities.java fail in linux

2010-04-15 Thread chris . hegarty
Changeset: ed61accf772e Author:chegar Date: 2010-04-15 16:37 +0100 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/ed61accf772e 6943219: test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/DNSIdentities.java fail in linux Reviewed-by: andrew ! test/sun/security/s