Re: RFR - 6480539: BigDecimal.stripTrailingZeros() should specify no-op on zero BigDecimals

2013-02-12 Thread Bruce Chapman
I didn't know that Randall was following this mailing list and this thread. http://xkcd.com/1172/ Bruce On 9/02/2013 9:32 a.m., Joe Darcy wrote: Hello, On 2/6/2013 11:32 PM, Bruce Chapman wrote: Stephen, In your case(s) would the workaround fail to work if the bug was fixed? Working

hg: jdk8/tl/langtools: 8004822: RFE to write language model API tests for repeating annotations based on the spec updates

2013-02-12 Thread joel . franck
Changeset: 973646bf043a Author:jfranck Date: 2013-02-12 11:28 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/973646bf043a 8004822: RFE to write language model API tests for repeating annotations based on the spec updates Reviewed-by: jjg, abuckley Contributed-by:

hg: jdk8/tl/jdk: 8007786: JDK-8002048 testcase doesn't work on Solaris

2013-02-12 Thread dmitry . samersoff
Changeset: f7fb173ac833 Author:dsamersoff Date: 2013-02-12 16:02 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f7fb173ac833 8007786: JDK-8002048 testcase doesn't work on Solaris Summary: test built in into Solaris shell doesn't have -e operator Reviewed-by: sla, sspitsyn !

Re: Suggestion: Add the method isEmpty in the classes StringBuilder and StringBuffer

2013-02-12 Thread Ulf Zibis
Am 12.02.2013 01:45, schrieb Vitaly Davidovich: javac will not replace concat ops across loop iterations, it will replace whichever ones are inside one loop iteration. This will still create temporary StringBuilder instances. As for JIT optimizing further, it would have to fully unroll the

hg: jdk8/tl/langtools: 8006334: javap, JavapTask constructor breaks with null pointer exception if parameter options is null

2013-02-12 Thread vicente . romero
Changeset: 073696f59241 Author:vromero Date: 2013-02-12 13:36 + URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/073696f59241 8006334: javap, JavapTask constructor breaks with null pointer exception if parameter options is null Reviewed-by: jjg !

Re: RFR - 6480539: BigDecimal.stripTrailingZeros() should specify no-op on zero BigDecimals

2013-02-12 Thread Brian Burkhalter
:-) On Feb 12, 2013, at 12:19 AM, Bruce Chapman wrote: I didn't know that Randall was following this mailing list and this thread. http://xkcd.com/1172/

hg: jdk8/tl/jdk: 8007392: JSR 310: DateTime API Updates; ...

2013-02-12 Thread xueming . shen
Changeset: 7dcb74c3ffba Author:sherman Date: 2013-02-12 09:25 -0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/7dcb74c3ffba 8007392: JSR 310: DateTime API Updates 8007520: Update date/time classes in j.util and j.sql packages 8007572: Replace existing jdk timezone data at

Re: RFR: 8007806: Need a Throwables performance counter

2013-02-12 Thread Kasper Nielsen
Jrockit mission control supports an exception count based on exception type. I have found the approach of just counting the total number of exception completely useless. Mainly because there are methods that throw exceptions as part of the normal flow. For example, Class.forName() is commonly

hg: jdk8/tl: 8007392: JSR 310: DateTime API Updates

2013-02-12 Thread xueming . shen
Changeset: fdb1e09519ed Author:sherman Date: 2013-02-12 09:27 -0800 URL: http://hg.openjdk.java.net/jdk8/tl/rev/fdb1e09519ed 8007392: JSR 310: DateTime API Updates Summary: Integration of JSR310 Date/Time API for M7 Reviewed-by: darcy, alanb, naoto Contributed-by:

FAILS: test/sun/management/jdp/JdpTest.sh: test: argument expected

2013-02-12 Thread Chris Hegarty
Dmitry, This test is now failing on several platforms, on jdk8 and 7u-dev --- result: Passed. Compilation successful #section:shell --messages:(3/154)-- command: shell JdpTest.sh [--jtreg, --no-compile] reason: User specified action: run shell JdpTest.sh --jtreg

hg: jdk8/tl/langtools: 8007464: Add graph inference support

2013-02-12 Thread maurizio . cimadamore
Changeset: 2154ed9ff6c8 Author:mcimadamore Date: 2013-02-12 19:25 + URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/2154ed9ff6c8 8007464: Add graph inference support Summary: Add support for more aggressive type-inference scheme Reviewed-by: jjg !

Re: FAILS: test/sun/management/jdp/JdpTest.sh: test: argument expected

2013-02-12 Thread Dmitry Samersoff
Kelly, Good catch but this part of test is not executed under JTReg, and this mistake cause extra mkdir call but not a test error. -Dmitry On 2013-02-12 21:52, Kelly O'Hair wrote: +if [ ! -f ${_testclasses} ] needs to be +if [ ! -d ${_testclasses} ] -kto On Feb 12, 2013, at

Re: FAILS: test/sun/management/jdp/JdpTest.sh: test: argument expected

2013-02-12 Thread Dmitry Samersoff
Kelly, Do you have an idea why I didn't see this failure under jprt? http://sthjprt.se.oracle.com/archives/2013/02/2013-02-08-192233.dsamerso.tl/ -Dmitry On 2013-02-12 21:52, Kelly O'Hair wrote: +if [ ! -f ${_testclasses} ] needs to be +if [ ! -d ${_testclasses} ] -kto On

Re: FAILS: test/sun/management/jdp/JdpTest.sh: test: argument expected

2013-02-12 Thread Dmitry Samersoff
Chris, I'm not able to reproduce it locally. Do you have a link to jprt job you see this failure? -Dmitry On 2013-02-12 21:38, Chris Hegarty wrote: Dmitry, This test is now failing on several platforms, on jdk8 and 7u-dev --- result: Passed. Compilation successful

Re: FAILS: test/sun/management/jdp/JdpTest.sh: test: argument expected

2013-02-12 Thread alejandro murillo
Dmitry, you have to use -testset core to run this test via JPRT. It's not run on regular jobs. Alejandro On 2/12/2013 3:18 PM, Dmitry Samersoff wrote: Kelly, Do you have an idea why I didn't see this failure under jprt?

Re: RFR (S) CR 8006627/8007398: Improve performance of Long.toUnsignedString0, Integer.toUnsignedString0, UUID(String) and UUID.toString

2013-02-12 Thread Mike Duigou
Hi Steven; I have updated the patch for Java 8. There's somewhat less code sharing and a bit of refactoring than your last version but the performance should be about the same or a little better. http://cr.openjdk.java.net/~mduigou/JDK-8007398/0/webrev/ I am currently running the jtreg

hg: jdk8/tl/langtools: 8008077: update reference impl for type-annotations

2013-02-12 Thread jonathan . gibbons
Changeset: bc456436c613 Author:jjg Date: 2013-02-12 17:15 -0800 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/bc456436c613 8008077: update reference impl for type-annotations Reviewed-by: jjg Contributed-by: wmdi...@cs.washington.edu !

Re: RFR (S) CR 8006627/8007398: Improve performance of Long.toUnsignedString0, Integer.toUnsignedString0, UUID(String) and UUID.toString

2013-02-12 Thread Mike Duigou
Thank you for the comments Ulf. On Feb 12 2013, at 17:24 , Ulf Zibis wrote: Am 13.02.2013 00:30, schrieb Mike Duigou: Hi Steven; I have updated the patch for Java 8. There's somewhat less code sharing and a bit of refactoring than your last version but the performance should be about

Re: RFR (S) CR 8006627/8007398: Improve performance of Long.toUnsignedString0, Integer.toUnsignedString0, UUID(String) and UUID.toString

2013-02-12 Thread Ulf Zibis
Am 13.02.2013 00:30, schrieb Mike Duigou: Hi Steven; I have updated the patch for Java 8. There's somewhat less code sharing and a bit of refactoring than your last version but the performance should be about the same or a little better.

Re: RFR (S) CR 8006627/8007398: Improve performance of Long.toUnsignedString0, Integer.toUnsignedString0, UUID(String) and UUID.toString

2013-02-12 Thread Ulf Zibis
Am 13.02.2013 02:34, schrieb Mike Duigou: Thank you for the comments Ulf. On Feb 12 2013, at 17:24 , Ulf Zibis wrote: Am 13.02.2013 00:30, schrieb Mike Duigou: Hi Steven; I have updated the patch for Java 8. There's somewhat less code sharing and a bit of refactoring than your last version