RFR [15] 8247789: Remove use of reflection from test/jdk/java/io/Serializable/records/StreamRefTest.java

Chris Hegarty chris.hegarty at oracle.com
Thu Jun 18 14:25:55 UTC 2020


> On 18 Jun 2020, at 14:56, Roger Riggs <Roger.Riggs at oracle.com> wrote:
> 
> Hi Chris,
> 
> It may be prudent to check that the current value in the byte array is the one you expect
> before changing it.
> That would help catch tests if something else changes the contents of the stream.

Good idea Roger. Done.

https://cr.openjdk.java.net/~chegar/8247789/webrev.01/

-Chris.


More information about the core-libs-dev mailing list