Re: RFR: 8015666: test/tools/pack200/TimeStamp.java failing

2013-08-06 Thread Kumar Srinivasan
Hi Sherman, The code changes look good to me, I was thinking about the test and here are some observations: test/java/util/zip/TestExtraTime.java a. you have TZ of Asia/Shanghai, I am wondering if it would help to add a TZ which has DST for any DST computation issues that we might

Re: RFR: 8015666: test/tools/pack200/TimeStamp.java failing

2013-08-02 Thread Xueming Shen
Kumar, Alan, Here is the latest webrev of the changes based on the latest CCC. http://cr.openjdk.java.net/~sherman/8015666/webrev -Sherman On 07/02/2013 11:29 AM, Xueming Shen wrote: On 06/28/2013 07:47 AM, Kumar Srinivasan wrote: Some nits while reading the changes: 1. ZipEntry.java a.

Re: RFR: 8015666: test/tools/pack200/TimeStamp.java failing

2013-07-02 Thread Xueming Shen
On 06/28/2013 07:47 AM, Kumar Srinivasan wrote: Some nits while reading the changes: 1. ZipEntry.java a. typo: + * Sets the laste access time of the entry. b. extra space +case EXTID_ZIP64 : 2. ZipOutputStream.java I think it would be nice to have the flags 0x1,

Re: RFR: 8015666: test/tools/pack200/TimeStamp.java failing

2013-06-28 Thread Kumar Srinivasan
Some nits while reading the changes: 1. ZipEntry.java a. typo: + * Sets the laste access time of the entry. b. extra space +case EXTID_ZIP64 : 2. ZipOutputStream.java I think it would be nice to have the flags 0x1, 0x2 and 0x4 defined as constants, this will also

Re: RFR: 8015666: test/tools/pack200/TimeStamp.java failing

2013-06-27 Thread Kumar Srinivasan
Hi Sherman, I started looking at this, my initial comment, the Unpacker.unpack does not close its output and we allow multiple pack files to be concatenated, I am assuming out.finish() will allow further jar files to be appended ? or would this cause a problem ? Kumar Hi, The zip time

Re: RFR: 8015666: test/tools/pack200/TimeStamp.java failing

2013-06-27 Thread Xueming Shen
On 06/27/2013 10:04 AM, Kumar Srinivasan wrote: Hi Sherman, I started looking at this, my initial comment, the Unpacker.unpack does not close its output and we allow multiple pack files to be concatenated, I am assuming out.finish() will allow further jar files to be appended ? or would this

Re: RFR: 8015666: test/tools/pack200/TimeStamp.java failing

2013-06-21 Thread Alan Bateman
On 20/06/2013 19:48, Xueming Shen wrote: : I'm proposing the following approach to add the functionality of supporting the utc-date/time-with-1-second granularity and keep the old behavior of the get/setTime() of the ZipEntry. (1) keep the time/setTime()/getTime() for the MS-DOS standard

Re: RFR: 8015666: test/tools/pack200/TimeStamp.java failing

2013-06-21 Thread Xueming Shen
On 6/21/13 6:33 AM, Alan Bateman wrote: On 20/06/2013 19:48, Xueming Shen wrote: : I'm proposing the following approach to add the functionality of supporting the utc-date/time-with-1-second granularity and keep the old behavior of the get/setTime() of the ZipEntry. (1) keep the