Re: Urgent [9] RFR (S) : JDK-8039915 NumberFormat.format() does not consider required no. of fraction digits properly

2014-09-19 Thread Brian Burkhalter
Hello Olivier, By inspection I think that the fix and the test update look good. I verified that the test hits all five branches contained in the else-if block of DigitList beginning at line 527. I also verified that the current code base fails four test cases when run against the updated test.

JDK 9 RFR of 8043740: Doubles with large exponents overflow to Infinity incorrectly

2014-09-19 Thread Brian Burkhalter
Hello Sandipan, Finally got this off the back burner … This review request follows this thread: http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-June/027086.html in which you provided a patch (thank you!) for: https://bugs.openjdk.java.net/browse/JDK-8043740 I’ve created an updated w

Re: JDK 9 RFR of 8058679: More bad characters in BigIntegerTest

2014-09-19 Thread Brian Burkhalter
Hi Robert, What happened was that for whatever reason my version of the ‘patch’ command did not like your patch. I tried various things to get ‘patch’ to accept it but without success. Note that this had nothing to do with the modular restructuring of the source tree as the path is easily unshu

RE: Urgent [9] RFR (S) : JDK-8039915 NumberFormat.format() does not consider required no. of fraction digits properly

2014-09-19 Thread William Price
> Hi Oliver, First, sorry about mistyping your name, Olivier! > I copied your patch into my shim locally and ran my test cases and > still get a couple failures (see output below). Your patch and my version > differ in the way and order in which we interpret allDecimalDigits and > alreadyRounded

Re: Use of internal APIs to protect against memory leaks

2014-09-19 Thread Phil Race
> For the 2D disposer issue then 2d-dev is the place to start The 2d disposer has a call to Thread.setContextClassLoader(null) It's been there since JDK6u21 ... and is in all later releases. https://bugs.openjdk.java.net/browse/JDK-6936389 So there is no need I see for accessing this in JDK 9

Re: Urgent [9] RFR (S) : JDK-8039915 NumberFormat.format() does not consider required no. of fraction digits properly

2014-09-19 Thread William Price
Hi Oliver, I wrote a javaagent-based patch for this bug. I haven't contributed it formally since my employer's legal department is still hung up on the Oracle Contributor Agreement (though we have released it on GitHub under GPLv2 w/CPE). I'm not linking to it here under the assumption that y

Re: [8u40] RFR (S): Missing part of 8057656 in 8u40 compared to 9

2014-09-19 Thread John Rose
Reviewed. On Sep 17, 2014, at 4:09 AM, Vladimir Ivanov wrote: > http://cr.openjdk.java.net/~vlivanov/8058626/webrev.00/ > https://bugs.openjdk.java.net/browse/JDK-8058626 > > I've noticed a difference between 8057656 fixes in 8u-dev [1] and 9 [2]. > It seems I integrated [3] into 8u and [4] in

Re: Use of internal APIs to protect against memory leaks

2014-09-19 Thread Alan Bateman
On 19/09/2014 14:12, Mark Thomas wrote: : The memory leaks stem from the generally more complex class loader structure present in a JavaEE container than is typically present in a standalone Java app. At this point, I have two questions. 1. Is this community interested in examining these memor

Re: [9] RFR: 8038966 JAX-WS handles wrongly xsd:any arguments for Web services

2014-09-19 Thread Seán Coffey
Miran, thanks for the update. Seems like you're working from an old JDK 9 forest. The webrev is using the pre-modular path layout. I've converted them. I'm am seeing the new test fail on windows though. Will share the details with you offline. regards, Sean. On 18/09/14 16:22, Miroslav Kos w

Use of internal APIs to protect against memory leaks

2014-09-19 Thread Mark Thomas
All, As you may know I am one of the Apache Tomcat committers. The Tomcat project was approached recently[1] to see what, if any, internal APIs Tomcat was using as part of the JDK 9 preparations. My response was that the only place Tomcat does this is in the memory leak prevention class [2]. I al

Re: [9] Review request : JDK-8058728: TEST_BUG: Make java/lang/invoke/LFCaching/LFGarbageCollectedTest.java skip arrayElementSetter and arrayElementGetter methods

2014-09-19 Thread igor.ignat...@oracle.com
thx. Reviewed. -- II - Reply message - From: "Konstantin Shefov" To: "Igor Ignatyev" Cc: "VLADIMIR.X.IVANOV" , , Subject: [9] Review request : JDK-8058728: TEST_BUG: Make java/lang/invoke/LFCaching/LFGarbageCollectedTest.java skip arrayElementSetter and arrayElementGetter methods Da

Re: [9] Review request : JDK-8058728: TEST_BUG: Make java/lang/invoke/LFCaching/LFGarbageCollectedTest.java skip arrayElementSetter and arrayElementGetter methods

2014-09-19 Thread Konstantin Shefov
Yes, the test compiles and runs ok, but fails because of 8057020. If we remove -Djava.lang.invoke.MethodHandle.USE_LF_EDITOR=true, the test passes. -Konstantin On 19.09.2014 16:01, Igor Ignatyev wrote: Hi, looks good to me. how have you tested your changes? Thanks, Igor On 09/19/2014 01:5

Re: [9] Review request : JDK-8058728: TEST_BUG: Make java/lang/invoke/LFCaching/LFGarbageCollectedTest.java skip arrayElementSetter and arrayElementGetter methods

2014-09-19 Thread Igor Ignatyev
Hi, looks good to me. how have you tested your changes? Thanks, Igor On 09/19/2014 01:50 PM, Konstantin Shefov wrote: Hello, Please review the test bug fix https://bugs.openjdk.java.net/browse/JDK-8058728 Webrev is http://cr.openjdk.java.net/~kshefov/8058728/webrev.00 Thanks -Konstantin

Re: Urgent [9] RFR (S) : JDK-8039915 NumberFormat.format() does not consider required no. of fraction digits properly

2014-09-19 Thread olivier.lagn...@oracle.com
Hi, This is a code change we would like to integrate in next release of JDK8, since impacting some customer apps/deployments. So it would be good to have it reviewed and backported to 8 soon. Is there anyone having a bit of free time to review it ? Best Regards, Olivier Lagneau On 11/09/201

Re: [9] Review request : JDK-8058728: TEST_BUG: Make java/lang/invoke/LFCaching/LFGarbageCollectedTest.java skip arrayElementSetter and arrayElementGetter methods

2014-09-19 Thread Paul Sandoz
On Sep 19, 2014, at 11:54 AM, Vladimir Ivanov wrote: > Looks good. > Small typo in the comment: s/filed/field Otherwise +1, Paul. > Best regards, > Vladimir Ivanov > > On 9/19/14, 1:50 PM, Konstantin Shefov wrote: >> Hello, >> >> Please review the test bug fix >> https://bugs.openjdk.jav

Re: [9] Review request : JDK-8058728: TEST_BUG: Make java/lang/invoke/LFCaching/LFGarbageCollectedTest.java skip arrayElementSetter and arrayElementGetter methods

2014-09-19 Thread Vladimir Ivanov
Looks good. Best regards, Vladimir Ivanov On 9/19/14, 1:50 PM, Konstantin Shefov wrote: Hello, Please review the test bug fix https://bugs.openjdk.java.net/browse/JDK-8058728 Webrev is http://cr.openjdk.java.net/~kshefov/8058728/webrev.00 Thanks -Konstantin

[9] Review request : JDK-8058728: TEST_BUG: Make java/lang/invoke/LFCaching/LFGarbageCollectedTest.java skip arrayElementSetter and arrayElementGetter methods

2014-09-19 Thread Konstantin Shefov
Hello, Please review the test bug fix https://bugs.openjdk.java.net/browse/JDK-8058728 Webrev is http://cr.openjdk.java.net/~kshefov/8058728/webrev.00 Thanks -Konstantin

Re: RFR: 8058550: Clarify that TimerTasks are not reusable

2014-09-19 Thread Chris Hegarty
On 19/09/14 10:21, Alan Bateman wrote: On 19/09/2014 10:14, Chris Hegarty wrote: Thank you Martin and Alan. This does indeed look better. Since this is a small specification clarification, of existing behavior, then a CCC should be filed so it is included in the next Java SE maintenance review,

Re: RFR: 8058550: Clarify that TimerTasks are not reusable

2014-09-19 Thread Alan Bateman
On 19/09/2014 10:14, Chris Hegarty wrote: Thank you Martin and Alan. This does indeed look better. Since this is a small specification clarification, of existing behavior, then a CCC should be filed so it is included in the next Java SE maintenance review, gets JCK attention, etc. I will do th

Re: RFR: 8058550: Clarify that TimerTasks are not reusable

2014-09-19 Thread Chris Hegarty
Thank you Martin and Alan. This does indeed look better. Since this is a small specification clarification, of existing behavior, then a CCC should be filed so it is included in the next Java SE maintenance review, gets JCK attention, etc. I will do this. -Chris. On 19/09/14 00:22, Martin Bu

Re: RFR: 8055232 (ref) Exceptions while processing Reference pending list

2014-09-19 Thread Peter Levart
On 09/19/2014 09:45 AM, David Holmes wrote: On 19/09/2014 5:35 PM, Peter Levart wrote: On 09/19/2014 09:06 AM, David Holmes wrote: Hi Peter, Two comments: 1. Doing the Object.wait() violates the thou-shalt-not-allocate rule, due to the potential for creating the InterruptedException. But ther

Re: RFR: 8055232 (ref) Exceptions while processing Reference pending list

2014-09-19 Thread David Holmes
On 19/09/2014 5:35 PM, Peter Levart wrote: On 09/19/2014 09:06 AM, David Holmes wrote: Hi Peter, Two comments: 1. Doing the Object.wait() violates the thou-shalt-not-allocate rule, due to the potential for creating the InterruptedException. But there is no way to avoid that. It depends on wh

Re: RFR: 8055232 (ref) Exceptions while processing Reference pending list

2014-09-19 Thread Peter Levart
On 09/19/2014 09:06 AM, David Holmes wrote: Hi Peter, Two comments: 1. Doing the Object.wait() violates the thou-shalt-not-allocate rule, due to the potential for creating the InterruptedException. But there is no way to avoid that. It depends on when the InterruptedException is allocated.

Re: RFR: 8055232 (ref) Exceptions while processing Reference pending list

2014-09-19 Thread David Holmes
Hi Peter, Two comments: 1. Doing the Object.wait() violates the thou-shalt-not-allocate rule, due to the potential for creating the InterruptedException. But there is no way to avoid that. 2. I don't see how the instanceof can still result in OOME if we have pre-loaded and initialized the r