Re: Replace concat String to append in StringBuilder parameters

2014-08-19 Thread Wang Weijun
Hi Otávio I see TABs in the first page of sun_security.diff, too long line in javax_security.diff. Also, it's unfortunate that you will need to rename the file names to the new style with modules. See http://cr.openjdk.java.net/~chegar/docs/portingScript.html for how to do this. I can create

Re: jsr 305

2014-08-19 Thread Joe Darcy
Sergey, JSR 305 is officially marked "dormant" in the JCP: https://www.jcp.org/en/jsr/detail?id=305 At this point, the addition of annotations in that vein should probably occur under the banner of a different effort. Cheers, -Joe On 08/19/2014 11:16 AM, Sergey Bylokhov wrote: Hi, Joe

Re: RFR 8055262: Update jdk/test/java/util/Base64 tests to use java.util.Base64 instead of sun.misc.BASE64Encoder/Decoder

2014-08-19 Thread Mandy Chung
Pushed. Thanks for the contribution. Mandy On 8/19/14 6:40 AM, Amy Lu wrote: Thank you Mandy and Sherman for your review. I'll need your help to push this. Thanks, Amy On 8/19/14, 1:31 AM, Mandy Chung wrote: On 8/18/14 12:08 AM, Amy Lu wrote: There are two tests under jdk/test/java/util/Ba

Re: jsr 305

2014-08-19 Thread Sergey Bylokhov
Hi, Joe. There are no news about this jsr in jdk9? I guess it will be useful in jdk development also. On 20.09.2011 23:00, Joe Darcy wrote: Hello. First, a procedural point, the party responsible for making progress on a JSR is the spec lead, which in the case of JSR 305 is Bill Pugh. When I

Re: RFR 8042003: java/lang/Math tests have external dependency on sun.misc.DoubleConsts and sun.misc.FloatConsts

2014-08-19 Thread Joe Darcy
On 08/19/2014 06:50 AM, Amy Lu wrote: On 8/19/14, 3:09 AM, Mandy Chung wrote: On 8/18/14 12:49 AM, Amy Lu wrote: There are jdk tests that have dependency on sun.misc.DoubleConsts and sun.misc.FloatConsts. This fix is to remove above internal API dependency from the tests. bug: https://bugs.op

Re: Review request for JDK-8051540: Convert JAXP functin tests: org.xml.sax to jtreg (testNG) tests

2014-08-19 Thread Tristan Yan
Thanks Joe. I will move the tests to [openjdk]/jaxp repo then. Tristan > On Aug 19, 2014, at 10:32 AM, huizhe wang wrote: > > By the way, the plan has been that all of the JAXP SQE and Unit tests be > migrated into [openjdk]/jaxp repo under jaxp/test. Tests currently in the jdk > repo shall be

Re: Review request for JDK-8051540: Convert JAXP functin tests: org.xml.sax to jtreg (testNG) tests

2014-08-19 Thread huizhe wang
By the way, the plan has been that all of the JAXP SQE and Unit tests be migrated into [openjdk]/jaxp repo under jaxp/test. Tests currently in the jdk repo shall be moved to jaxp/test as well. I see that your webrev was generated in jdk9/dev/jdk. I hope it doesn't mean you're checking tests int

Re: Replace concat String to append in StringBuilder parameters

2014-08-19 Thread Sergey Bylokhov
Hi Otávio, The new alignment in DataLine.java/JColorChooser.java looks strange. Wrong change in BasicTableUI.java: -plainStr.deleteCharAt(plainStr.length() - 1).append("\n"); +plainStr.deleteCharAt(plainStr.length() - 1).append('\t'); On 13.08.2014 3:01,

Re: Replace concat String to append in StringBuilder parameters

2014-08-19 Thread Pavel Rappo
Brian, Yes, this works fine in cases when 'whatever' is a j.u.Collection (though some may argue that it's an overkill already). However we need even more thinking and transformations in case when 'whatever' is one of these: * j.u.Iterator * j.l.Iterable * j.u.Enumeration * CharSeque

RE: java.util.logging.FileHandler integer overflow prevents file rotation

2014-08-19 Thread Jason Mehrens
Stanimir, Looks like the int overflow on the metered stream is an issue that hasn't been tracked. The other issues have been reported under https://bugs.openjdk.java.net/browse/JDK-6433253 and https://bugs.openjdk.java.net/browse/JDK-8028786 Jason ---

Re: RFR: 8052403 java/util/logging/CheckZombieLockTest.java fails with NoSuchFileException

2014-08-19 Thread Daniel Fuchs
On 8/15/14 10:32 PM, Mandy Chung wrote: > Looks good. Nit: adding a space between catch and ( would be good. Thanks Mandy. I took that opportunity to also fix the spaces before and after '+' in print statements. For the record the new webrev I'm going to push is here: http://cr.openjdk.java.ne

Re: RFR 8042003: java/lang/Math tests have external dependency on sun.misc.DoubleConsts and sun.misc.FloatConsts

2014-08-19 Thread Amy Lu
On 8/19/14, 3:09 AM, Mandy Chung wrote: On 8/18/14 12:49 AM, Amy Lu wrote: There are jdk tests that have dependency on sun.misc.DoubleConsts and sun.misc.FloatConsts. This fix is to remove above internal API dependency from the tests. bug: https://bugs.openjdk.java.net/browse/JDK-8042003 webre

Re: RFR 8055262: Update jdk/test/java/util/Base64 tests to use java.util.Base64 instead of sun.misc.BASE64Encoder/Decoder

2014-08-19 Thread Amy Lu
Thank you Mandy and Sherman for your review. I'll need your help to push this. Thanks, Amy On 8/19/14, 1:31 AM, Mandy Chung wrote: On 8/18/14 12:08 AM, Amy Lu wrote: There are two tests under jdk/test/java/util/Base64 that have dependency on internal API sun.misc.BASE64Encoder sun.misc.BASE64

Re: 8055393: Some tests added to the TEST.group to exclude execution on inappropriate compact profiles

2014-08-19 Thread Evgeniya Stepanova
Re-added lost diff On 19.08.2014 16:58, Evgeniya Stepanova wrote: Hi all, Could you please review fix for 8055393 Problem:Some tests are being executed and fail under profiles Solution: -test java/lang/ProcessBuilder/InheritIO/InheritIO.sh changed to use COMPILEJAVA (set by jtreg harness) java

8055393: Some tests added to the TEST.group to exclude execution on inappropriate compact profiles

2014-08-19 Thread Evgeniya Stepanova
Hi all, Could you please review fix for 8055393 Problem:Some tests are being executed and fail under profiles Solution: -test java/lang/ProcessBuilder/InheritIO/InheritIO.sh changed to use COMPILEJAVA (set by jtreg harness) javac instead of TESTJAVA (which is absent in profiles) -java/lang/anno

java.util.logging.FileHandler integer overflow prevents file rotation

2014-08-19 Thread Stanimir Simeonoff
java.util.logging.FileHandler uses ints to track the written bytes that can cause negative value for java.util.logging.FileHandler.MeteredStream.written as there is no check in any of the write methods. The overflow prevents the check in FileHandler.publish(LogRecord) meter.written >= limit to ever