Integrated: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-11-09 Thread Masanori Yano
53b0b0653256923586c7f4ec9e3cfac3 Stats: 26 lines in 2 files changed: 11 ins; 14 del; 1 mod 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently Reviewed-by: mchung, alanb - PR: https://git.openjdk.java.net/jdk/pull/5679

Re: RFR: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-11-08 Thread Alan Bateman
On Fri, 24 Sep 2021 11:28:09 GMT, Masanori Yano wrote: > Could you please review the 8250678 bug fixes? > > The `parse` method of ModuleDescriptor.Version class behaves incorrectly when > the input string contains consecutive delimiters. > > The `parse` method treats strings as three sections,

Re: RFR: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-11-08 Thread Mandy Chung
On Fri, 24 Sep 2021 11:28:09 GMT, Masanori Yano wrote: > Could you please review the 8250678 bug fixes? > > The `parse` method of ModuleDescriptor.Version class behaves incorrectly when > the input string contains consecutive delimiters. > > The `parse` method treats strings as three sections,

Re: RFR: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-11-08 Thread Alan Bateman
On Fri, 5 Nov 2021 16:51:02 GMT, Mandy Chung wrote: > I would suggest to create a separate issue to follow up the spec > clarification and keep this PR to fix the implementation. > > The version parsing code is tricky. The fix is straight-forward, just moving > the check of the delimiters as t

Re: RFR: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-11-05 Thread Mandy Chung
On Fri, 24 Sep 2021 11:28:09 GMT, Masanori Yano wrote: > Could you please review the 8250678 bug fixes? > > The `parse` method of ModuleDescriptor.Version class behaves incorrectly when > the input string contains consecutive delimiters. > > The `parse` method treats strings as three sections,

Re: RFR: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-11-05 Thread Masanori Yano
On Fri, 24 Sep 2021 11:28:09 GMT, Masanori Yano wrote: > Could you please review the 8250678 bug fixes? > > The `parse` method of ModuleDescriptor.Version class behaves incorrectly when > the input string contains consecutive delimiters. > > The `parse` method treats strings as three sections,

Re: RFR: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-11-03 Thread Alan Bateman
On Tue, 2 Nov 2021 20:09:21 GMT, Mandy Chung wrote: > I reviewed the change. It is reasonable to fix the parsing of the pre-release > version and the build version be consistent with parsing of the version > number which currently skips consecutive delimiters. > > The spec is unclear on whethe

Re: RFR: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-11-02 Thread Mandy Chung
On Fri, 24 Sep 2021 11:28:09 GMT, Masanori Yano wrote: > Could you please review the 8250678 bug fixes? > > The `parse` method of ModuleDescriptor.Version class behaves incorrectly when > the input string contains consecutive delimiters. > > The `parse` method treats strings as three sections,

Re: RFR: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-11-01 Thread Masanori Yano
On Wed, 6 Oct 2021 18:40:36 GMT, Mark Reinhold wrote: >> @mbreinhold Could you comment on this pull request? > >> @mbreinhold Could you comment on this pull request? > > This is somewhat tricky code. I’ll take a look, but give me a few days. @mbreinhold @AlanBateman Are you aware of my comment?

Re: RFR: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-10-27 Thread Masanori Yano
On Wed, 6 Oct 2021 18:40:36 GMT, Mark Reinhold wrote: >> @mbreinhold Could you comment on this pull request? > >> @mbreinhold Could you comment on this pull request? > > This is somewhat tricky code. I’ll take a look, but give me a few days. @mbreinhold @AlanBateman Could you please reply to th

Re: RFR: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-10-21 Thread Masanori Yano
On Mon, 27 Sep 2021 08:22:02 GMT, Alan Bateman wrote: >> Could you please review the 8250678 bug fixes? >> >> The `parse` method of ModuleDescriptor.Version class behaves incorrectly >> when the input string contains consecutive delimiters. >> >> The `parse` method treats strings as three sect

Re: RFR: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-10-18 Thread Masanori Yano
On Wed, 6 Oct 2021 18:40:36 GMT, Mark Reinhold wrote: >> @mbreinhold Could you comment on this pull request? > >> @mbreinhold Could you comment on this pull request? > > This is somewhat tricky code. I’ll take a look, but give me a few days. @mbreinhold (@AlanBateman ) Could you tell me how man

Re: RFR: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-10-13 Thread Masanori Yano
On Wed, 6 Oct 2021 18:40:36 GMT, Mark Reinhold wrote: >> @mbreinhold Could you comment on this pull request? > >> @mbreinhold Could you comment on this pull request? > > This is somewhat tricky code. I’ll take a look, but give me a few days. @mbreinhold I waited for about a week, but I haven't

Re: RFR: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-10-06 Thread Mark Reinhold
On Thu, 30 Sep 2021 11:26:12 GMT, Masanori Yano wrote: > @mbreinhold Could you comment on this pull request? This is somewhat tricky code. I’ll take a look, but give me a few days. - PR: https://git.openjdk.java.net/jdk/pull/5679

Re: RFR: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-10-06 Thread Masanori Yano
On Mon, 27 Sep 2021 08:22:02 GMT, Alan Bateman wrote: >> Could you please review the 8250678 bug fixes? >> >> The `parse` method of ModuleDescriptor.Version class behaves incorrectly >> when the input string contains consecutive delimiters. >> >> The `parse` method treats strings as three sect

Re: RFR: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-09-30 Thread Masanori Yano
On Fri, 24 Sep 2021 11:28:09 GMT, Masanori Yano wrote: > Could you please review the 8250678 bug fixes? > > The `parse` method of ModuleDescriptor.Version class behaves incorrectly when > the input string contains consecutive delimiters. > > The `parse` method treats strings as three sections,

Re: RFR: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-09-27 Thread Alan Bateman
On Fri, 24 Sep 2021 11:28:09 GMT, Masanori Yano wrote: > Could you please review the 8250678 bug fixes? > > The `parse` method of ModuleDescriptor.Version class behaves incorrectly when > the input string contains consecutive delimiters. > > The `parse` method treats strings as three sections,

RFR: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-09-24 Thread Masanori Yano
: ModuleDescriptor.Version parsing treats empty segments inconsistently Changes: https://git.openjdk.java.net/jdk/pull/5679/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5679&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8250678 Stats: 26 lines in 2 files cha

[PING] RE: [PING] RE: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-03-03 Thread yano-masan...@fujitsu.com
ano > > > > > -Original Message- > > > From: Yano, Masanori > > > Sent: Wednesday, November 4, 2020 6:03 PM > > > To: 'core-libs-dev@openjdk.java.net' > > > > > > Subject: 8250678: ModuleDescriptor.Version parsing treats

RE: [PING] RE: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2021-01-14 Thread yano-masan...@fujitsu.com
Hello, Please reply if anyone can be a sponsor. Regards, Masanori Yano > -Original Message- > From: Yano, Masanori > Sent: Wednesday, December 23, 2020 5:01 PM > To: 'core-libs-dev@openjdk.java.net' > Subject: [PING] RE: 8250678: ModuleDescriptor.Ver

[PING] RE: 8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2020-12-23 Thread yano-masan...@fujitsu.com
Hello, Please reply if anyone can be a sponsor. Regards, Masanori Yano > -Original Message- > From: Yano, Masanori > Sent: Wednesday, November 4, 2020 6:03 PM > To: 'core-libs-dev@openjdk.java.net' > Subject: 8250678: ModuleDescriptor.Version pars

8250678: ModuleDescriptor.Version parsing treats empty segments inconsistently

2020-11-04 Thread yano-masan...@fujitsu.com
Hello. I would like to contribute for JDK-8250678. The 'parse' method of ModuleDescriptor.Version class behaves incorrectly when the input string contains consecutive delimiters. The 'parse' method treats strings as three sections, but the parsing method differs between the method for the vers