Re: RFR: 8283715: Update ObjectStreamClass to be final [v2]

2022-03-30 Thread Stuart Marks
On Wed, 30 Mar 2022 00:43:57 GMT, Jaikiran Pai  wrote:

>> Stuart Marks has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Adjust nonfinal CSMs and rework error reporting in CheckCSMs.java test
>
> Hello Stuart, the test change looks fine to me. Just a minor note - the 
> copyright year of the test will need an update.

@jaikiran Thanks, I've updated the copyright year. I will integrate when I can 
keep an eye on the subsequent builds.

-

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


Re: RFR: 8283715: Update ObjectStreamClass to be final [v2]

2022-03-29 Thread Jaikiran Pai
On Tue, 29 Mar 2022 16:07:18 GMT, Stuart Marks  wrote:

>> Pretty much just what it says.
>
> Stuart Marks has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Adjust nonfinal CSMs and rework error reporting in CheckCSMs.java test

Hello Stuart, the test change looks fine to me. Just a minor note - the 
copyright year of the test will need an update.

-

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


Re: RFR: 8283715: Update ObjectStreamClass to be final [v2]

2022-03-29 Thread Mandy Chung
On Tue, 29 Mar 2022 16:07:18 GMT, Stuart Marks  wrote:

>> Pretty much just what it says.
>
> Stuart Marks has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Adjust nonfinal CSMs and rework error reporting in CheckCSMs.java test

Looks good.   Thanks for improving the error reporting in CheckCSMs test.

-

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


Re: RFR: 8283715: Update ObjectStreamClass to be final [v2]

2022-03-29 Thread Daniel Fuchs
On Tue, 29 Mar 2022 16:07:18 GMT, Stuart Marks  wrote:

>> Pretty much just what it says.
>
> Stuart Marks has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Adjust nonfinal CSMs and rework error reporting in CheckCSMs.java test

Nice update to the test!

-

Marked as reviewed by dfuchs (Reviewer).

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


Re: RFR: 8283715: Update ObjectStreamClass to be final [v2]

2022-03-29 Thread Mandy Chung
On Tue, 29 Mar 2022 16:07:18 GMT, Stuart Marks  wrote:

>> Pretty much just what it says.
>
> Stuart Marks has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Adjust nonfinal CSMs and rework error reporting in CheckCSMs.java test

Marked as reviewed by mchung (Reviewer).

-

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


Re: RFR: 8283715: Update ObjectStreamClass to be final [v2]

2022-03-29 Thread Stuart Marks
On Tue, 29 Mar 2022 16:07:18 GMT, Stuart Marks  wrote:

>> Pretty much just what it says.
>
> Stuart Marks has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Adjust nonfinal CSMs and rework error reporting in CheckCSMs.java test

Yes, the CheckCSMs test needed to be updated to remove 
ObjectStreamClass#forClass from the list of non-final CSMs, as that method is 
now part of a final class. The error message about ObjectStreamField#getType is 
misleading; I've fixed up the error reporting for this case.

It would indeed be interesting to make adjustments to ObjectStreamField. 
However, it's publicly subclassable, and it's not serializable, so a different 
set of dynamics apply. I'd like to consider that effort separately from this PR.

-

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


Re: RFR: 8283715: Update ObjectStreamClass to be final [v2]

2022-03-29 Thread Stuart Marks
> Pretty much just what it says.

Stuart Marks has updated the pull request incrementally with one additional 
commit since the last revision:

  Adjust nonfinal CSMs and rework error reporting in CheckCSMs.java test

-

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8009/files
  - new: https://git.openjdk.java.net/jdk/pull/8009/files/4b9bf990..77b6d79f

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

  Stats: 8 lines in 1 file changed: 2 ins; 1 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8009.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8009/head:pull/8009

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