On Wed, 24 Mar 2021 10:25:44 GMT, Lance Andersen <lan...@openjdk.org> wrote:
>> Lin Zang has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - update copyright >> - reuse arguments constructor for non-argument one. > > Hi Lin, > > On Mar 24, 2021, at 2:51 AM, Lin Zang ***@***.******@***.***>> wrote: > > > > Hi Lance, > Thanks a lot for your review. I will update the PR ASAP. > May I ask your help to also review the CSR? > > I believe we need to flush out some of the issues I raised that were not test > related as they will result in updates to the javadoc which will require an > update to the CSR. > > > > Thanks! > > BRs, > Lin > > — > You are receiving this because you commented. > Reply to this email directly, view it on > GitHub<https://github.com/openjdk/jdk/pull/3072#issuecomment-805549600>, or > unsubscribe<https://github.com/notifications/unsubscribe-auth/ABQPFO5R4INTAUFZ3QS6WL3TFGDXHANCNFSM4ZMLU6SA>. > > ***@***.*** > > > > Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037 > Oracle Java Engineering > 1 Network Drive > Burlington, MA 01803 > ***@***.******@***.***> Dear @LanceAndersen, Thanks a lot for your guidance, I have updated a commit that use record and builder pattern. In summary it creates a class named `GZIPHeaderBuilder`, and a **recor**d named `GZIPHeaderData`. The `GZIPHeaderData` **record** holds the header `flags`, `extra field`, `file name`, `file comments`, `header crc` and a byte array that contains the generated header data. The `GZIPHeaderBuilder` is mainly used for generating the `GZIPHeaderData`. User could set `optional gzip header fields` by calling different api like `withFileName()` of `GZIPHeaderBuilder` and generate the `GZIPHeaderData` finally by calling build(). Would you like to help review whether this update looks better? Thanks, Lin ------------- PR: https://git.openjdk.java.net/jdk/pull/3072