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 13:28:01 UTC 2020


This is a small change to remove the use of reflection to fabricate
"bad" serial data - in order to verify constructor invariants for 
record serialization tests. Instead, it is straight forward to just 
modify a single value in the byte stream, that results in the same.

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

-Chris.



More information about the core-libs-dev mailing list