Re: RFR: 8261621: Delegate Unicode history from JLS to j.l.Character [v2]

2021-02-21 Thread David Holmes

On 20/02/2021 12:00 am, Naoto Sato wrote:

On Thu, 18 Feb 2021 14:49:20 GMT, Roger Riggs  wrote:




The table is informative and should not be construed as specification.
The wording "has supported" should be sufficient.


If this is not specification then doesn't that imply that any provider of any 
version of OpenJDK would be free to support, or not, whatever version of 
Unicode that they chose? Surely a minimum supported version must be part of the 
platform specification?


The current version of Unicode is specified in a normative statement just 
before the table.
"Character information is based on the Unicode Standard, version 13.0."

The table is not a specification of past revisions.


RIght. And each Java SE release's spec has the same sentence with the version 
replaced. In fact, vendors cannot incorporate arbitrary Unicode versions as it 
would involve API changes. If they wanted to do so, an MR should have to be 
released.


Roger and Naoto, thanks for clarifying. I took Roger's original comment 
out of context.


David


-

PR: https://git.openjdk.java.net/jdk/pull/2538



Re: RFR: 8261621: Delegate Unicode history from JLS to j.l.Character [v2]

2021-02-19 Thread Naoto Sato
On Thu, 18 Feb 2021 14:49:20 GMT, Roger Riggs  wrote:

>>> 
>>> 
>>> The table is informative and should not be construed as specification.
>>> The wording "has supported" should be sufficient.
>> 
>> If this is not specification then doesn't that imply that any provider of 
>> any version of OpenJDK would be free to support, or not, whatever version of 
>> Unicode that they chose? Surely a minimum supported version must be part of 
>> the platform specification?
>
> The current version of Unicode is specified in a normative statement just 
> before the table.
> "Character information is based on the Unicode Standard, version 13.0."
> 
> The table is not a specification of past revisions.

RIght. And each Java SE release's spec has the same sentence with the version 
replaced. In fact, vendors cannot incorporate arbitrary Unicode versions as it 
would involve API changes. If they wanted to do so, an MR should have to be 
released.

-

PR: https://git.openjdk.java.net/jdk/pull/2538


Re: RFR: 8261621: Delegate Unicode history from JLS to j.l.Character [v2]

2021-02-18 Thread Roger Riggs
On Thu, 18 Feb 2021 03:56:49 GMT, David Holmes  wrote:

>> The table is informative and should not be construed as specification.
>> The wording "has supported" should be sufficient.
>
>> 
>> 
>> The table is informative and should not be construed as specification.
>> The wording "has supported" should be sufficient.
> 
> If this is not specification then doesn't that imply that any provider of any 
> version of OpenJDK would be free to support, or not, whatever version of 
> Unicode that they chose? Surely a minimum supported version must be part of 
> the platform specification?

The current version of Unicode is specified in a normative statement just 
before the table.
"Character information is based on the Unicode Standard, version 13.0."

The table is not a specification of past revisions.

-

PR: https://git.openjdk.java.net/jdk/pull/2538


Re: RFR: 8261621: Delegate Unicode history from JLS to j.l.Character [v2]

2021-02-17 Thread David Holmes
On Fri, 12 Feb 2021 15:22:15 GMT, Roger Riggs  wrote:

> 
> 
> The table is informative and should not be construed as specification.
> The wording "has supported" should be sufficient.

If this is not specification then doesn't that imply that any provider of any 
version of OpenJDK would be free to support, or not, whatever version of 
Unicode that they chose? Surely a minimum supported version must be part of the 
platform specification?

-

PR: https://git.openjdk.java.net/jdk/pull/2538


Re: RFR: 8261621: Delegate Unicode history from JLS to j.l.Character [v2]

2021-02-12 Thread Naoto Sato
On Fri, 12 Feb 2021 20:29:28 GMT, Joe Darcy  wrote:

>> This was requested by Alex, and I thought it sounded reasonable and 
>> informative. I think if an MR upgrades the supported Unicode version, it 
>> should be listed here.
>
> Should some acknowledgement be made to the changes in Unicode support done by 
> the Java SE 8 and Java SE 11 MRs with respect to extensions of the base 
> Unicode version?

I thought about that but decided not to include them here because the changes 
made in those MRs were not Unicode version upgrades (i.e., version stayed the 
same). Let me know if you think otherwise.

-

PR: https://git.openjdk.java.net/jdk/pull/2538


Re: RFR: 8261621: Delegate Unicode history from JLS to j.l.Character [v2]

2021-02-12 Thread Joe Darcy
On Fri, 12 Feb 2021 17:03:57 GMT, Naoto Sato  wrote:

>> src/java.base/share/classes/java/lang/Character.java line 86:
>> 
>>> 84:  * Unicode 10.0
>>> 85:  * Java SE 9
>>> 86:  * Unicode 8.0
>> 
>> Do we really need the history in the API docs? Will will update this table 
>> if there is a MR of the JSR for Java 8 that moves to a new Unicode release?
>
> This was requested by Alex, and I thought it sounded reasonable and 
> informative. I think if an MR upgrades the supported Unicode version, it 
> should be listed here.

Should some acknowledgement be made to the changes in Unicode support done by 
the Java SE 8 and Java SE 11 MRs with respect to extensions of the base Unicode 
version?

-

PR: https://git.openjdk.java.net/jdk/pull/2538


Re: RFR: 8261621: Delegate Unicode history from JLS to j.l.Character [v2]

2021-02-12 Thread Naoto Sato
On Fri, 12 Feb 2021 16:13:04 GMT, Alan Bateman  wrote:

>> Naoto Sato has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Removed empty  tag
>
> src/java.base/share/classes/java/lang/Character.java line 86:
> 
>> 84:  * Unicode 10.0
>> 85:  * Java SE 9
>> 86:  * Unicode 8.0
> 
> Do we really need the history in the API docs? Will will update this table if 
> there is a MR of the JSR for Java 8 that moves to a new Unicode release?

This was requested by Alex, and I thought it sounded reasonable and 
informative. I think if an MR upgrades the supported Unicode version, it should 
be listed here.

-

PR: https://git.openjdk.java.net/jdk/pull/2538


Re: RFR: 8261621: Delegate Unicode history from JLS to j.l.Character [v2]

2021-02-12 Thread Alan Bateman
On Fri, 12 Feb 2021 04:06:55 GMT, Naoto Sato  wrote:

>> Please review this doc fix to j.l.Character, which now includes the table of 
>> the history of supported Unicode versions. A corresponding CSR will be filed 
>> accordingly.
>
> Naoto Sato has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Removed empty  tag

src/java.base/share/classes/java/lang/Character.java line 86:

> 84:  * Unicode 10.0
> 85:  * Java SE 9
> 86:  * Unicode 8.0

Do we really need the history in the API docs? Will will update this table if 
there is a MR of the JSR for Java 8 that moves to a new Unicode release?

-

PR: https://git.openjdk.java.net/jdk/pull/2538


Re: RFR: 8261621: Delegate Unicode history from JLS to j.l.Character [v2]

2021-02-12 Thread Roger Riggs
On Fri, 12 Feb 2021 04:06:55 GMT, Naoto Sato  wrote:

>> Please review this doc fix to j.l.Character, which now includes the table of 
>> the history of supported Unicode versions. A corresponding CSR will be filed 
>> accordingly.
>
> Naoto Sato has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Removed empty  tag

The table is informative and should not be construed as specification.
The wording "has supported" should be sufficient.

-

Marked as reviewed by rriggs (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/2538


Re: RFR: 8261621: Delegate Unicode history from JLS to j.l.Character [v2]

2021-02-11 Thread Joe Wang
On Fri, 12 Feb 2021 04:06:55 GMT, Naoto Sato  wrote:

>> Please review this doc fix to j.l.Character, which now includes the table of 
>> the history of supported Unicode versions. A corresponding CSR will be filed 
>> accordingly.
>
> Naoto Sato has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Removed empty  tag

Marked as reviewed by joehw (Reviewer).

-

PR: https://git.openjdk.java.net/jdk/pull/2538


Re: RFR: 8261621: Delegate Unicode history from JLS to j.l.Character [v2]

2021-02-11 Thread Naoto Sato
> Please review this doc fix to j.l.Character, which now includes the table of 
> the history of supported Unicode versions. A corresponding CSR will be filed 
> accordingly.

Naoto Sato has updated the pull request incrementally with one additional 
commit since the last revision:

  Removed empty  tag

-

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2538/files
  - new: https://git.openjdk.java.net/jdk/pull/2538/files/5560a4cf..b026b5eb

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk=2538=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk=2538=00-01

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2538.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2538/head:pull/2538

PR: https://git.openjdk.java.net/jdk/pull/2538